summaryrefslogtreecommitdiffstats
path: root/crypto/cms
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-27 12:59:19 +0100
committerMatt Caswell <matt@openssl.org>2016-04-28 13:13:09 +0100
commitd71eb667c403d9781ef919794e29a79eb930ab88 (patch)
tree803d2fe79ce6ab5879cc504fae9a697dbbea7d82 /crypto/cms
parent91fb42ddbef7a88640d1a0f853c941c20df07de7 (diff)
Don't leak memory on error in BN_generate_prime_ex
In BN_generate_prime_ex() we do some sanity checks first and return with an error if they fail. We should do that *before* allocating any resources to avoid a memory leak. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/cms')
0 files changed, 0 insertions, 0 deletions