diff options
Diffstat (limited to 'src/usr.bin/openssl/gendsa.c')
| -rw-r--r-- | src/usr.bin/openssl/gendsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr.bin/openssl/gendsa.c b/src/usr.bin/openssl/gendsa.c index 1e6a6061e1..3197e7be7c 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.9 2018/02/07 04:57:06 jsing Exp $ */ | 1 | /* $OpenBSD: gendsa.c,v 1.10 2018/02/07 05:47:55 jsing 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 | * |
| @@ -143,7 +143,7 @@ gendsa_main(int argc, char **argv) | |||
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | if (dsaparams == NULL) { | 145 | if (dsaparams == NULL) { |
| 146 | bad: | 146 | bad: |
| 147 | BIO_printf(bio_err, "usage: gendsa [args] dsaparam-file\n"); | 147 | BIO_printf(bio_err, "usage: gendsa [args] dsaparam-file\n"); |
| 148 | BIO_printf(bio_err, " -out file - output the key to 'file'\n"); | 148 | BIO_printf(bio_err, " -out file - output the key to 'file'\n"); |
| 149 | #ifndef OPENSSL_NO_DES | 149 | #ifndef OPENSSL_NO_DES |
| @@ -202,7 +202,7 @@ bad: | |||
| 202 | if (!PEM_write_bio_DSAPrivateKey(out, dsa, enc, NULL, 0, NULL, passout)) | 202 | if (!PEM_write_bio_DSAPrivateKey(out, dsa, enc, NULL, 0, NULL, passout)) |
| 203 | goto end; | 203 | goto end; |
| 204 | ret = 0; | 204 | ret = 0; |
| 205 | end: | 205 | end: |
| 206 | if (ret != 0) | 206 | if (ret != 0) |
| 207 | ERR_print_errors(bio_err); | 207 | ERR_print_errors(bio_err); |
| 208 | BIO_free(in); | 208 | BIO_free(in); |
