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:41:34 +0000 (20:41 +0200)
commit91dc4497dec6fcb1e0ecf61f257c9c13364328b4
tree77e9c928ecea1dadcc72a9a44b8289dd38b73ac4
parent11ca27c912888460a7a06b9308fd85170e1db194
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