]> 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:51:50 +0000 (09:51 +0200)
commitd244abb6515c3f1c68975c5d62417aff03f488b5
tree9980398a63573796bf68e69d95629b8446ac4093
parent8cc0a97d60f4b77def4df9fee41740ffb2fb5563
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)
providers/implementations/signature/ecdsa_sig.c