PROV: Ensure the AlgorithmIdentifier registers in DSA signature impl
authorRichard Levitte <levitte@openssl.org>
Fri, 7 Feb 2020 08:09:50 +0000 (09:09 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 10 Feb 2020 09:22:32 +0000 (10:22 +0100)
commitb0593c086dd303af31dc1e30233149978dd613c4
tree39c6a88ed1614fc69603f47ac16946b573140bb5
parentf4dcc09ba71c0a51771311428c20634f574ccf12
PROV: Ensure the AlgorithmIdentifier registers in DSA signature impl

When setting up the hash function for DSA signature, the encoded
AlgorithmIdentifier for the DSA+hash combination is queried, but not
stored, which leads to problems when signing ASN.1 items in libcrypto.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11037)
providers/implementations/signature/dsa.c