Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/rand Fix application...
details: https://anonhg.NetBSD.org/src/rev/91cb67777742
branches: trunk
changeset: 777861:91cb67777742
user: tls <tls%NetBSD.org@localhost>
date: Wed Mar 07 10:17:47 2012 +0000
description:
Fix applications that call RAND_bytes() before any other RAND function.
Last change was...a bit too simple.
diffstat:
crypto/external/bsd/openssl/dist/crypto/rand/md_rand.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 45ee63104856 -r 91cb67777742 crypto/external/bsd/openssl/dist/crypto/rand/md_rand.c
--- a/crypto/external/bsd/openssl/dist/crypto/rand/md_rand.c Wed Mar 07 07:24:05 2012 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/rand/md_rand.c Wed Mar 07 10:17:47 2012 +0000
@@ -395,6 +395,7 @@
{
RAND_poll();
+ ok = (entropy >= ENTROPY_NEEDED);
/* If the PRNG state is not yet unpredictable, then seeing
* the PRNG output may help attackers to determine the new
Home |
Main Index |
Thread Index |
Old Index