]> 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:48:12 +0000 (17:48 +0200)
commite4308e7a98947c24e17a93de92147ee6815da581
tree0f88732aaf1fdc69c3610dcc7675d78866d22325
parentbe4717602dbd387ef4de6ab0a2311881fe31a67a
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)

(cherry picked from commit 294782f3b5c4b81d682e6e8608bb6e851177494d)
crypto/ec/ecdsa_ossl.c