From: Jon Spillett Date: Wed, 19 Aug 2020 23:13:28 +0000 (+1000) Subject: Add the correct enum value for DSA public key serialization X-Git-Tag: openssl-3.0.0-alpha7~435 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2e46dfa8c42b5d47723aaed60d7fce3d84455c5;p=thirdparty%2Fopenssl.git Add the correct enum value for DSA public key serialization Reviewed-by: Matt Caswell Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/12688) --- diff --git a/providers/implementations/encode_decode/encoder_dsa_pub.c b/providers/implementations/encode_decode/encoder_dsa_pub.c index f99388e150f..e1201634b9a 100644 --- a/providers/implementations/encode_decode/encoder_dsa_pub.c +++ b/providers/implementations/encode_decode/encoder_dsa_pub.c @@ -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;