Raise an Err when CRYPTO_THREAD_lock_new fails
authorFdaSilvaYY <fdasilvayy@gmail.com>
Sat, 30 Apr 2016 14:23:33 +0000 (16:23 +0200)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 12:14:49 +0000 (13:14 +0100)
commitb2b361f6afb55c501bedef664c1fdc0d71a91d4b
tree2678410dc1fd78d2832316a9013104ca7698d23c
parent57358a83a401ef469353b7ebdae0cf3b870a4d5e
Raise an Err when CRYPTO_THREAD_lock_new fails

Add missing error raise call, as it is done everywhere else.
and as CRYPTO_THREAD_lock_new don't do it internally.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/asn1/tasn_utl.c
crypto/dh/dh_lib.c
crypto/dsa/dsa_lib.c
crypto/dso/dso_lib.c
engines/e_chil.c
engines/e_chil_err.h