FreeBSD Bugzilla – Attachment 159861 Details for
Bug 198527
[PATCH] security/heimdal: Fix build without EGD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for security/heimdal
patch-security_heimdal-libressl (text/plain), 2.31 KB, created by
Bernard Spil
on 2015-08-14 16:18:21 UTC
(
hide
)
Description:
svn diff for security/heimdal
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-08-14 16:18:21 UTC
Size:
2.31 KB
patch
obsolete
>Index: security/heimdal/files/patch-lib_hcrypto_rand-egd.c >=================================================================== >--- security/heimdal/files/patch-lib_hcrypto_rand-egd.c (revision 0) >+++ security/heimdal/files/patch-lib_hcrypto_rand-egd.c (working copy) >@@ -0,0 +1,17 @@ >+--- lib/hcrypto/rand-egd.c.orig 2012-12-09 22:06:44 UTC >++++ lib/hcrypto/rand-egd.c >+@@ -33,6 +33,8 @@ >+ >+ #include <config.h> >+ >++#ifndef OPENSSL_NO_EGD >++ >+ #include <sys/types.h> >+ #ifdef HAVE_SYS_UN_H >+ #include <sys/un.h> >+@@ -258,3 +260,5 @@ RAND_egd_bytes(const char *filename, int >+ >+ return 1; >+ } >++ >++#endif > >Property changes on: security/heimdal/files/patch-lib_hcrypto_rand-egd.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Index: security/heimdal/files/patch-lib_krb5_crypto-rand.c >=================================================================== >--- security/heimdal/files/patch-lib_krb5_crypto-rand.c (revision 0) >+++ security/heimdal/files/patch-lib_krb5_crypto-rand.c (working copy) >@@ -0,0 +1,19 @@ >+--- lib/krb5/crypto-rand.c.orig 2012-12-09 22:06:44 UTC >++++ lib/krb5/crypto-rand.c >+@@ -66,6 +66,7 @@ seed_something(void) >+ krb5_context context; >+ const char *p; >+ >++#ifndef OPENSSL_NO_EGD >+ /* Try using egd */ >+ if (!krb5_init_context(&context)) { >+ p = krb5_config_get_string(context, NULL, "libdefaults", >+@@ -74,6 +75,8 @@ seed_something(void) >+ RAND_egd_bytes(p, ENTROPY_NEEDED); >+ krb5_free_context(context); >+ } >++#endif >++ >+ #else >+ /* TODO: Once a Windows CryptoAPI RAND method is defined, we >+ can use that and failover to another method. */ > >Property changes on: security/heimdal/files/patch-lib_krb5_crypto-rand.c >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198527
:
154222
|
155420
|
155435
| 159861 |
167022