]> git.ipfire.org Git - thirdparty/openssl.git/commit
Compute RSA-PSS algorithm params in libcrypto for legacy
authorTomas Mraz <tomas@openssl.org>
Mon, 22 May 2023 13:08:38 +0000 (15:08 +0200)
committerPauli <pauli@openssl.org>
Thu, 1 Jun 2023 00:02:28 +0000 (10:02 +1000)
commit3410a72dce57651e08d5d2143409cde0205a8f3b
tree4083fb33e5c9a6f21ebcb276e405da5fab7da6a8
parent09bd0d05a6ab9eb4965763c100edf9b86ae03d2b
Compute RSA-PSS algorithm params in libcrypto for legacy

Fixes regression of RSA signatures for legacy keys caused
by quering the provider for the algorithm id with parameters.

Legacy keys do not have a method that would create the
algorithm id. So we revert to what was done in 3.0.7 and
earlier versions for these keys.

Fixes #21008

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21019)
crypto/cms/cms_rsa.c
crypto/rsa/rsa_ameth.c