Fix locking in ssl_cert_dup()
authorTodd Short <tshort@akamai.com>
Wed, 9 Mar 2016 15:01:43 +0000 (10:01 -0500)
committerRich Salz <rsalz@openssl.org>
Wed, 9 Mar 2016 16:26:01 +0000 (11:26 -0500)
commitaeb5b95576025d651c4941e7a5c157351094de84
treeb8739bdd868fb2cee16f95bb5419b6bcf9d926e9
parentb7aacc3ac33c9c239e8187a3ad595afb8e49ce79
Fix locking in ssl_cert_dup()

Properly check the return value of CRYPTO_THREAD_lock_new()

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/ssl_cert.c