rsa_kmgmt: Return OSSL_PKEY_PARAM_DEFAULT_DIGEST for unrestricted PSS keys
authorTomas Mraz <tomas@openssl.org>
Tue, 26 Jan 2021 10:39:27 +0000 (11:39 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 29 Jan 2021 09:47:02 +0000 (10:47 +0100)
commita2a5506b9329b978a2a5b11a518b9789446ad310
treea4c65e7a10d06f57e1296969d3c6d50fb6de8b2f
parente947a0642db111bb34547b5f7d48e13163492ca5
rsa_kmgmt: Return OSSL_PKEY_PARAM_DEFAULT_DIGEST for unrestricted PSS keys

Add a testcase to the test_req covering the issue.

Fixes #13957

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13967)
providers/implementations/keymgmt/rsa_kmgmt.c
test/recipes/25-test_req.t
test/testrsapss.pem [new file with mode: 0644]