Make the lock in CRYPTO_secure_allocated() a read lock
authorPauli <pauli@openssl.org>
Tue, 6 Apr 2021 02:24:06 +0000 (12:24 +1000)
committerPauli <pauli@openssl.org>
Wed, 7 Apr 2021 13:28:07 +0000 (23:28 +1000)
commit0bc27f7203258f662a533574d0c6c55fb08166eb
tree7a05b453c7aa8f8795c16867e1ae52bc1dd5aaf2
parentbec9289143c955b330a8f9ad32f26f3da76e2685
Make the lock in CRYPTO_secure_allocated() a read lock

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14775)
crypto/mem_sec.c