Avoid multiple lock using FIPS DRBG.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 30 Jul 2014 14:13:08 +0000 (15:13 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 30 Jul 2014 20:08:07 +0000 (21:08 +0100)
commita3efe1b6e9d2aa2ce5661e4d4b97262eae743fa7
treea841e435b30e0b59513cda3c05a904b8e91f6af4
parent789b12599d2e9ad3f93ef54f4bacf296d82a8325
Avoid multiple lock using FIPS DRBG.

Don't use multiple locks when SP800-90 DRBG is used outside FIPS mode.

PR#3176
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/rand/md_rand.c
crypto/rand/rand_lcl.h
crypto/rand/rand_lib.c