Don't check for malloc failure twice.
authorDavid Benjamin <davidben@google.com>
Sat, 20 Aug 2016 17:55:17 +0000 (13:55 -0400)
committerKurt Roeckx <kurt@roeckx.be>
Mon, 22 Aug 2016 19:20:31 +0000 (21:20 +0200)
commit01f879d3e3fe5bdcf290b802a3c44a2bdde2b059
treede33593a6e0b915d72e420e96ffe01b5283fa98c
parent67e11f1d44b85758f01b4905d64c4c49476c1db5
Don't check for malloc failure twice.

a03f81f4ead24c234dc26e388d86a352685f3948 added a malloc failure check to
EVP_PKEY_keygen, but there already was one.

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #1473
crypto/evp/pmeth_gn.c