diff options
| -rw-r--r-- | src/usr.bin/openssl/gendsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/gendsa.c b/src/usr.bin/openssl/gendsa.c index fff0053279..6d69957e85 100644 --- a/src/usr.bin/openssl/gendsa.c +++ b/src/usr.bin/openssl/gendsa.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: gendsa.c,v 1.14 2019/07/24 14:23:25 inoguchi Exp $ */ | 1 | /* $OpenBSD: gendsa.c,v 1.15 2022/01/14 09:25:00 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -278,7 +278,7 @@ gendsa_main(int argc, char **argv) | |||
| 278 | } | 278 | } |
| 279 | 279 | ||
| 280 | BIO_printf(bio_err, "Generating DSA key, %d bits\n", | 280 | BIO_printf(bio_err, "Generating DSA key, %d bits\n", |
| 281 | BN_num_bits(dsa->p)); | 281 | BN_num_bits(DSA_get0_p(dsa))); |
| 282 | if (!DSA_generate_key(dsa)) | 282 | if (!DSA_generate_key(dsa)) |
| 283 | goto end; | 283 | goto end; |
| 284 | 284 | ||
