From 5827572ff7bbac7d8afb04f26eb1db49c5349c3e Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 14 Jan 2022 09:23:42 +0000 Subject: [PATCH] Convert openssl(1) dsa.c to opaque DSA ok inoguchi jsing --- usr.bin/openssl/dsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/openssl/dsa.c b/usr.bin/openssl/dsa.c index 1b5e302bd5c..df45cd6ebec 100644 --- a/usr.bin/openssl/dsa.c +++ b/usr.bin/openssl/dsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa.c,v 1.15 2019/07/14 03:30:45 guenther Exp $ */ +/* $OpenBSD: dsa.c,v 1.16 2022/01/14 09:23:42 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -315,7 +315,7 @@ dsa_main(int argc, char **argv) } if (dsa_config.modulus) { fprintf(stdout, "Public Key="); - BN_print(out, dsa->pub_key); + BN_print(out, DSA_get0_pub_key(dsa)); fprintf(stdout, "\n"); } if (dsa_config.noout) -- 2.20.1