PROV: Fix encoding of MDWithRSAEncryption signature AlgorithmID
authorRichard Levitte <levitte@openssl.org>
Sun, 31 Jan 2021 22:15:08 +0000 (23:15 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 5 Feb 2021 15:53:30 +0000 (16:53 +0100)
commit2bb05a9668323ac2719f84cf8e9ccffc2bc99916
treeddaa3cb52b0d25ae644c558484922ce5b0c8b857
parent5682e77dff5123f0e9259c258bb58bc6d2e358ef
PROV: Fix encoding of MDWithRSAEncryption signature AlgorithmID

All {MD}WithRSAEncryption signature AlgorithmID have the parameters
being NULL, according to PKCS#1.  We didn't.  Now corrected.

This bug was the topic of this thread on openssl-users@openssl.org:
https://mta.openssl.org/pipermail/openssl-users/2021-January/013416.html

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14030)
providers/common/der/der_rsa_sig.c