]> git.ipfire.org Git - thirdparty/openssl.git/commit
Make the lock in CRYPTO_secure_actual_size a read lock
authorNikola Pajkovsky <nikolap@openssl.org>
Thu, 10 Jul 2025 07:48:15 +0000 (09:48 +0200)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Fri, 11 Jul 2025 13:24:01 +0000 (23:24 +1000)
commit8253b58d60eec11fdb5e5dbf9cc61f78a9b7095d
tree2130d91fc63309db5d3adab2b963583e06465c43
parentb2ac43b0d89b5b528941ad9d233b4cb4f99a7cca
Make the lock in CRYPTO_secure_actual_size a read lock

there is no operations within critical section that would
require write lock.

Signed-off-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28014)
crypto/mem_sec.c