From f9413cc6715f54ed51436f9ffb0b8631bab4f867 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 14 Jan 2022 09:25:00 +0000 Subject: [PATCH] Convert openssl(1) gendsa.c to opaque DSA ok inoguchi jsing --- usr.bin/openssl/gendsa.c | 4 ++-- 1 file 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; -- 2.20.1