FreeBSD Bugzilla – Attachment 167761 Details for
Bug 207742
crypto/heimdal requires RAND_egd capable libcrypto
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git diff for crypto/heimdal
patch-crypto_heimdal_lib_krb5_crypto-rand.c (text/plain), 684 bytes, created by
Bernard Spil
on 2016-03-06 13:43:32 UTC
(
hide
)
Description:
git diff for crypto/heimdal
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2016-03-06 13:43:32 UTC
Size:
684 bytes
patch
obsolete
>diff --git a/crypto/heimdal/lib/krb5/crypto-rand.c b/crypto/heimdal/lib/krb5/crypto-rand.c >index 49bd679..6b315b5 100644 >--- a/crypto/heimdal/lib/krb5/crypto-rand.c >+++ b/crypto/heimdal/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,7 @@ 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. */
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 207742
: 167761