]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix rsa_sigalg_set_ctx_params() to return 1 for unknown parameters.
authorslontis <shane.lontis@oracle.com>
Fri, 20 Sep 2024 00:37:55 +0000 (10:37 +1000)
committerTomas Mraz <tomas@openssl.org>
Fri, 4 Oct 2024 15:41:13 +0000 (17:41 +0200)
commit349815b57f0d19b040ad8733975b7b5698570dc3
tree1f7ec51452cf2081ed6c8685fd8e6426372c14ab
parent923baa12e149e92d2599dddbb490ed0201465bed
Fix rsa_sigalg_set_ctx_params() to return 1 for unknown parameters.

This keeps the code consistent with the changes done for other
algorithms that support sigalg_set_ctx_params().

set_ctx_params() should always return 1 if the parameter is unknown.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25570)
providers/implementations/signature/rsa_sig.c