From e2e46dfa8c42b5d47723aaed60d7fce3d84455c5 Mon Sep 17 00:00:00 2001 From: Jon Spillett Date: Thu, 20 Aug 2020 09:13:28 +1000 Subject: 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) --- providers/implementations/encode_decode/encoder_dsa_pub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/implementations/encode_decode/encoder_dsa_pub.c b/providers/implementations/encode_decode/encoder_dsa_pub.c index f99388e..e120163 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; -- cgit v1.1