]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/evp/p_lib.c
RT3754: check for NULL pointer
authorEmilia Kasper <emilia@openssl.org>
Tue, 1 Sep 2015 14:31:55 +0000 (16:31 +0200)
committerEmilia Kasper <emilia@openssl.org>
Thu, 10 Sep 2015 15:21:23 +0000 (17:21 +0200)
commite34c66c6b07d69ec4df8e488976e28d851ad87e6
tree34cb0273ddc02f0d2a30c045d4b2dd429b7cdd67
parentcdde7b49a4ded6ce25b348314a231b99ce884c06
RT3754: check for NULL pointer

Fix both the caller to error out on malloc failure, as well as the
eventual callee to handle a NULL gracefully.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
crypto/evp/p_lib.c
crypto/evp/pmeth_gn.c