summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-14 09:23:43 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-14 09:23:43 +0000
commitb7b06fb583e4e7e5c3e483d533ebf19b085fbc8b (patch)
tree6956868c734b1b1d54573c13b7a9e568fbde3c73 /usr.bin
parent2612a206997997b38d91716a6efad3d0f487c771 (diff)
Convert openssl(1) dsa.c to opaque DSA
ok inoguchi jsing
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/openssl/dsa.c4
1 files 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)