Skip to content
Commit 680b9d45 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>
parent f52292be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment