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:
Rich Salz <rsalz@openssl.org>
Loading
Please sign in to comment
WARNING! Gitlab maintenance operation scheduled for Saturday 28th March from 8 a.m. (CET) to approximately 3 p.m. (CET). GitLab will be unavailable during this time.
CRYPTO_atomic_add was assumed to return negative value on error, while
it returns 0.
Reviewed-by:
Rich Salz <rsalz@openssl.org>