]> git.ipfire.org Git - thirdparty/openssl.git/commit
Remove handling of NULL sig param in ossl_ecdsa_deterministic_sign
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 8 Feb 2024 21:44:33 +0000 (22:44 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 2 Apr 2024 15:47:29 +0000 (17:47 +0200)
commit294782f3b5c4b81d682e6e8608bb6e851177494d
treee39050befb7d37e7fe5212c4ed571fed195b6345
parent1fa2bf9b1885d2e87524421fea5041d40149cffa
Remove handling of NULL sig param in ossl_ecdsa_deterministic_sign

The handling of sig=NULL was broken in this function, but since it
is only used internally and was never called with sig=NULL, it is
better to return an error in that case.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23529)
crypto/ec/ecdsa_ossl.c