The SHA256 is not a mandatory digest for DSA.
authorTomas Mraz <tmraz@fedoraproject.org>
Mon, 27 May 2019 14:52:03 +0000 (16:52 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Tue, 28 May 2019 15:14:47 +0000 (17:14 +0200)
commitcd4c83b52423008391b50abcccf18a7d8fcce03b
tree87263a680a3b00322d4cf31f036b34233e13126d
parent3b437400d90fb89ce5e0d74fd79bda9028f185fb
The SHA256 is not a mandatory digest for DSA.

The #7408 implemented mandatory digest checking in TLS.
However this broke compatibility of DSS support with GnuTLS
which supports only SHA1 with DSS.

There is no reason why SHA256 would be a mandatory digest
for DSA as other digests in SHA family can be used as well.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9015)
crypto/dsa/dsa_ameth.c