summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-14 09:25:01 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-14 09:25:01 +0000
commit543446a3c50b23501f9efc15068515a8d9b6cd28 (patch)
treeb2eba6236aac7613abe18737967fa8e807d1c7b6 /usr.bin
parentbcfd08d3f364dc8baeee789e05afe533f1633dc0 (diff)
Convert openssl(1) gendsa.c to opaque DSA
ok inoguchi jsing
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/openssl/gendsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/gendsa.c b/usr.bin/openssl/gendsa.c
index fff0053279d..6d69957e852 100644
--- a/usr.bin/openssl/gendsa.c
+++ b/usr.bin/openssl/gendsa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gendsa.c,v 1.14 2019/07/24 14:23:25 inoguchi Exp $ */
+/* $OpenBSD: gendsa.c,v 1.15 2022/01/14 09:25:00 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -278,7 +278,7 @@ gendsa_main(int argc, char **argv)
}
BIO_printf(bio_err, "Generating DSA key, %d bits\n",
- BN_num_bits(dsa->p));
+ BN_num_bits(DSA_get0_p(dsa)));
if (!DSA_generate_key(dsa))
goto end;