Commit c700d1fe authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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



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

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/6843)
parent 4e7ade96
Supports Markdown
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