]> git.ipfire.org Git - thirdparty/openssl.git/commit
sm2_sig_verify(): Do not call BN_CTX_end() without BN_CTX_start()
authorTomas Mraz <tomas@openssl.org>
Tue, 19 Nov 2024 10:09:58 +0000 (11:09 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 21 Nov 2024 10:13:56 +0000 (11:13 +0100)
commit93bfe97c5be0ca575411b39c9dec1103caa82f51
tree654f127715407f100d2f2d44d30f418fe3549143
parent0c64b1ca0315edf6c3e947b53ea13fecc6da7dad
sm2_sig_verify(): Do not call BN_CTX_end() without BN_CTX_start()

In case of memory allocation failure this
could happen.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/25994)
crypto/sm2/sm2_sign.c