]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't restrict the ECDSA settable ctx params unnecessarily
authorMatt Caswell <matt@openssl.org>
Wed, 31 Jul 2024 13:24:12 +0000 (14:24 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 9 Sep 2024 07:52:27 +0000 (09:52 +0200)
commitde984934ddc2574acc304183d4e8b68b8123f87a
tree0aceff8877380a3e9a34a8645013e21ebab2ca9a
parent2f5308cd4c40b50dc5d770cadfbeeed53376bafe
Don't restrict the ECDSA settable ctx params unnecessarily

We just allow all possible settables all the time. Some things like the
digest name can't actually be changed in some circumstances - but we already
have checks for those things. It's still possible to pass a digest of the
same name to one that's already been set for example.

Fixes #25012

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

(cherry picked from commit d244abb6515c3f1c68975c5d62417aff03f488b5)
providers/implementations/signature/ecdsa_sig.c