Move BN_CTX_start() call so the error case can always call BN_CTX_end().
authorPascal Cuoq <cuoq@trust-in-soft.com>
Tue, 5 May 2015 09:20:39 +0000 (11:20 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Wed, 7 Oct 2015 18:36:54 +0000 (20:36 +0200)
commitcc1cdc5df5e80883de20d6f59ecfc4505bbb3e52
tree1c357aa0eacf8fe37c47909e85da509dc134f269
parent738b8e6bc2331ae9230411d88b8a100614f80457
Move BN_CTX_start() call so the error case can always call BN_CTX_end().

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
MR #1231

(cherry picked from commit 99c203337574d967c86ffbfa13f40ace51048485)
crypto/dsa/dsa_gen.c