Don't crash if an unrecognised digest is used with dsa_paramgen_md
authorMatt Caswell <matt@openssl.org>
Thu, 29 Mar 2018 16:48:28 +0000 (17:48 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 5 Apr 2018 14:44:24 +0000 (15:44 +0100)
commit06d3b485db8b6bfd5437c9998d92e882a3cdfa1f
treef51d43ea9820fe3999013a451b1f10a08c586db5
parentfdb8113daedbcc01e3effc5b0a1ed97558d700a5
Don't crash if an unrecognised digest is used with dsa_paramgen_md

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5800)
crypto/dsa/dsa_pmeth.c