]> git.ipfire.org Git - thirdparty/openssl.git/commit
Refactor RAND_get0_primary() locking
authorMatt Caswell <matt@openssl.org>
Tue, 26 Jan 2021 15:14:02 +0000 (15:14 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 2 Feb 2021 12:21:21 +0000 (12:21 +0000)
commitcd4e6a351201270cd2769e1e2af7e9fb875a3f80
tree73694ef897b94508dd072a1f2a057940c9c502ed
parenta0134d293e907672e2717fe54ce6a4b3ae425388
Refactor RAND_get0_primary() locking

Make sure we never read or write to dgbl->primary outside of a lock.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13987)
crypto/rand/rand_lib.c