Branch: refs/heads/openssl-3.2 Home: https://github.com/openssl/openssl Commit: e0d4526c427bc65fd1114467f1e5c88f6ceadd58 https://github.com/openssl/openssl/commit/e0d4526c427bc65fd1114467f1e5c88f6ceadd58 Author: cchinchole <cpchinch...@gmail.com> Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths: M crypto/bio/bio_addr.c M crypto/engine/eng_table.c M doc/man3/CRYPTO_THREAD_run_once.pod Log Message: ----------- Unlock only when lock was successful Addressing issue (#24517): Updated the example in CRYPTO_THREAD_run_once.pod to reflect that an unlock call should not be made if a write_lock failed. Updated BIO_lookup_ex in bio_addr.c and ossl_engine_table_select in eng_table.c to not call unlock if the lock failed. Reviewed-by: Neil Horman <nhor...@openssl.org> Reviewed-by: Tomas Mraz <to...@openssl.org> Reviewed-by: Todd Short <todd.sh...@me.com> (Merged from https://github.com/openssl/openssl/pull/24779) (cherry picked from commit 3f4da93678497fe64d262d03c388932f7ecfe74e) To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications