Skip to content
Commit 24233a0f authored by Andy Polyakov's avatar Andy Polyakov
Browse files

asn1/tasn_utl.c: fix logical error in and overhaul asn1_do_lock.



CRYPTO_atomic_add was assumed to return negative value on error, while
it returns 0.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit 680b9d45)
parent c0cc23af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment