Check for malloc failure in EVP_PKEY_keygen()
authorMatt Caswell <matt@openssl.org>
Thu, 26 May 2016 14:54:48 +0000 (15:54 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 26 May 2016 15:13:08 +0000 (16:13 +0100)
commit8e0a94a58a4382296b6c2ba6d7381c48e24e26cd
treefac09331c31819d93647d4d852ba7a81262422bb
parentada5de7ca1deae28713303319694806214dfa7d9
Check for malloc failure in EVP_PKEY_keygen()

After a call to EVP_PKEY_new() we should check for malloc failure.

RT#4180

Reviewed-by: Stephen Henson <steve@openssl.org>
crypto/evp/pmeth_gn.c