diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-12-04 13:39:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-12-08 13:23:14 +0000 |
commit | 17a2d0801fad5f6ef0ce14fbb394ef2c109746ae (patch) | |
tree | 6fd86950d7ac55243db4208d8f8e1710a8e2e56f /crypto/asn1/Makefile | |
parent | accb3007ace4a1c86a602b17fca557c0ad0f0fc5 (diff) | |
download | openssl-new-17a2d0801fad5f6ef0ce14fbb394ef2c109746ae.tar.gz |
Avoid multiple locks in FIPS mode.
PR: 3176.
In FIPS mode ssleay_rand_bytes is only used for PRNG seeding and is
performed in either a single threaded context (when the PRNG is first
initialised) or under a lock (reseeding). To avoid multiple locks disable
use of CRYPTO_LOCK_RAND in FIPS mode in ssleay_rand_bytes.
(cherry picked from commit 53142f72c9b9c9bad2f39ca6200a4f04f5c8001c)
Diffstat (limited to 'crypto/asn1/Makefile')
0 files changed, 0 insertions, 0 deletions