Check that we were actually allocated BIGNUMs in dsa_builtin_paramgen2
authorMatt Caswell <matt@openssl.org>
Wed, 27 Apr 2016 12:32:58 +0000 (13:32 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 28 Apr 2016 12:13:09 +0000 (13:13 +0100)
commitf08e8034505ae69d6b986f20a63b705d1f012744
tree98f4a35ef04ec4e12e7999000e122274514ab3eb
parent2280358146b620647c51a5b940dd9104c4ea3a3f
Check that we were actually allocated BIGNUMs in dsa_builtin_paramgen2

Calls to BN_CTX_get() can fail so we should check that they were
successful.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/dsa/dsa_gen.c