diff options
author | sthen <> | 2015-07-08 16:37:25 +0000 |
---|---|---|
committer | sthen <> | 2015-07-08 16:37:25 +0000 |
commit | c103a908b9abcc6b96600e197a19249870aae0e5 (patch) | |
tree | 60a3f733a3ad87e9de4e8e4df55417015554f70e | |
parent | 83fe0994d64503071ba86ea1321580bd25f5f1c7 (diff) | |
download | openbsd-c103a908b9abcc6b96600e197a19249870aae0e5.tar.gz openbsd-c103a908b9abcc6b96600e197a19249870aae0e5.tar.bz2 openbsd-c103a908b9abcc6b96600e197a19249870aae0e5.zip |
switch "openssl dhparam" default from 512 to 2048 bits, ok jsing@
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/dhparam.c | 6 | ||||
-rw-r--r-- | src/usr.bin/openssl/openssl.1 | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/usr.bin/openssl/dhparam.c b/src/usr.bin/openssl/dhparam.c index 468fa00419..005ed25877 100644 --- a/src/usr.bin/openssl/dhparam.c +++ b/src/usr.bin/openssl/dhparam.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dhparam.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ | 1 | /* $OpenBSD: dhparam.c,v 1.3 2015/07/08 16:37:25 sthen 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 | * |
@@ -129,7 +129,7 @@ | |||
129 | 129 | ||
130 | #include <openssl/dsa.h> | 130 | #include <openssl/dsa.h> |
131 | 131 | ||
132 | #define DEFBITS 512 | 132 | #define DEFBITS 2048 |
133 | 133 | ||
134 | /* -inform arg - input format - default PEM (DER or PEM) | 134 | /* -inform arg - input format - default PEM (DER or PEM) |
135 | * -outform arg - output format - default PEM | 135 | * -outform arg - output format - default PEM |
@@ -227,7 +227,7 @@ bad: | |||
227 | BIO_printf(bio_err, " -C Output C code\n"); | 227 | BIO_printf(bio_err, " -C Output C code\n"); |
228 | BIO_printf(bio_err, " -2 generate parameters using 2 as the generator value\n"); | 228 | BIO_printf(bio_err, " -2 generate parameters using 2 as the generator value\n"); |
229 | BIO_printf(bio_err, " -5 generate parameters using 5 as the generator value\n"); | 229 | BIO_printf(bio_err, " -5 generate parameters using 5 as the generator value\n"); |
230 | BIO_printf(bio_err, " numbits number of bits in to generate (default 512)\n"); | 230 | BIO_printf(bio_err, " numbits number of bits in to generate (default 2048)\n"); |
231 | #ifndef OPENSSL_NO_ENGINE | 231 | #ifndef OPENSSL_NO_ENGINE |
232 | BIO_printf(bio_err, " -engine e use engine e, possibly a hardware device.\n"); | 232 | BIO_printf(bio_err, " -engine e use engine e, possibly a hardware device.\n"); |
233 | #endif | 233 | #endif |
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1 index 5106943640..ecf2eda2ea 100644 --- a/src/usr.bin/openssl/openssl.1 +++ b/src/usr.bin/openssl/openssl.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: openssl.1,v 1.15 2015/06/20 01:07:25 doug Exp $ | 1 | .\" $OpenBSD: openssl.1,v 1.16 2015/07/08 16:37:25 sthen Exp $ |
2 | .\" ==================================================================== | 2 | .\" ==================================================================== |
3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -112,7 +112,7 @@ | |||
112 | .\" | 112 | .\" |
113 | .\" OPENSSL | 113 | .\" OPENSSL |
114 | .\" | 114 | .\" |
115 | .Dd $Mdocdate: June 20 2015 $ | 115 | .Dd $Mdocdate: July 8 2015 $ |
116 | .Dt OPENSSL 1 | 116 | .Dt OPENSSL 1 |
117 | .Os | 117 | .Os |
118 | .Sh NAME | 118 | .Sh NAME |
@@ -2043,7 +2043,7 @@ This option inhibits the output of the encoded version of the parameters. | |||
2043 | This argument specifies that a parameter set should be generated of size | 2043 | This argument specifies that a parameter set should be generated of size |
2044 | .Ar numbits . | 2044 | .Ar numbits . |
2045 | It must be the last option. | 2045 | It must be the last option. |
2046 | If not present, a value of 512 is used. | 2046 | If not present, a value of 2048 is used. |
2047 | If this value is present, the input file is ignored and | 2047 | If this value is present, the input file is ignored and |
2048 | parameters are generated instead. | 2048 | parameters are generated instead. |
2049 | .It Fl out Ar file | 2049 | .It Fl out Ar file |