diff options
| author | tb <> | 2022-01-14 09:25:00 +0000 |
|---|---|---|
| committer | tb <> | 2022-01-14 09:25:00 +0000 |
| commit | f4b55fbbca9aa3121eadffa7b8f6af4f0f1a1ac8 (patch) | |
| tree | 9bee5964afe05fdda57fb503bf89213a9b1be512 /src | |
| parent | f270761ddc5b588db16a0410b44392a69dee87a4 (diff) | |
| download | openbsd-f4b55fbbca9aa3121eadffa7b8f6af4f0f1a1ac8.tar.gz openbsd-f4b55fbbca9aa3121eadffa7b8f6af4f0f1a1ac8.tar.bz2 openbsd-f4b55fbbca9aa3121eadffa7b8f6af4f0f1a1ac8.zip | |
Convert openssl(1) gendsa.c to opaque DSA
ok inoguchi jsing
Diffstat (limited to 'src')
| -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 | ||
