Add the correct enum value for DSA public key serialization

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12688)
This commit is contained in:
Jon Spillett 2020-08-20 09:13:28 +10:00 committed by Shane Lontis
parent 458cb85d19
commit e2e46dfa8c

View File

@ -173,7 +173,7 @@ static int dsa_pub_print(void *ctx, void *dsa, OSSL_CORE_BIO *cout,
if (out == NULL)
return 0;
ret = ossl_prov_print_dsa(out, dsa, 0);
ret = ossl_prov_print_dsa(out, dsa, dsa_print_pub);
BIO_free(out);
return ret;