Add checks on CRYPTO_new_ex_data return value...
authorFdaSilvaYY <fdasilvayy@gmail.com>
Tue, 8 Mar 2016 19:11:48 +0000 (20:11 +0100)
committerRich Salz <rsalz@openssl.org>
Thu, 28 Apr 2016 18:37:41 +0000 (14:37 -0400)
commit2bbf0baa9565cce937d85592f12d1279871dfaf6
tree43fd8d6d74ea714fbef4e5c4d1aeea41c14572bb
parent25a807bcb9509c6fccfbbd9d02119772ccb0f23e
Add checks on CRYPTO_new_ex_data return value...
with some adaptation to new multi-threading API.

Once reference, lock, meth and flag fields are setup,
DSA_free/DH_free can be called directly.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/996)
crypto/dh/dh_lib.c
crypto/dsa/dsa_lib.c