rsa_signverify_init: Set the PARAMS after key is set
authorTomas Mraz <tomas@openssl.org>
Fri, 19 Nov 2021 14:16:53 +0000 (15:16 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 23 Nov 2021 14:15:32 +0000 (15:15 +0100)
commiteaae5d69eb5a8cd9c054b23cc388397cbb4ffb98
treebb7a318d6ebd7788014f9ad685426ebd501fc33f
parentb33fb68a3230b8fc87f6663212ac3ffae0b361c5
rsa_signverify_init: Set the PARAMS after key is set

Also, default to unrestricted pss parameters until the key is set.

Fixes #17075

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17080)
providers/implementations/signature/rsa_sig.c