From: tb Date: Fri, 14 Jan 2022 09:25:00 +0000 (+0000) Subject: Convert openssl(1) gendsa.c to opaque DSA X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f9413cc6715f54ed51436f9ffb0b8631bab4f867;p=openbsd Convert openssl(1) gendsa.c to opaque DSA ok inoguchi jsing --- 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;