diff options
author | 2018-12-09 19:30:34 +0000 | |
---|---|---|
committer | 2018-12-09 19:30:34 +0000 | |
commit | 264f7b2f38896bf3ce509bfcf16c2e8cb1bf7389 (patch) | |
tree | a101136cc1b4f024fe422fbe6bff5b45b5e1f3f2 | |
parent | allow check-rdns and check-fcrdns in connect, helo/ehlo, mail-from, rcpt-to (diff) | |
download | wireguard-openbsd-264f7b2f38896bf3ce509bfcf16c2e8cb1bf7389.tar.xz wireguard-openbsd-264f7b2f38896bf3ce509bfcf16c2e8cb1bf7389.zip |
Keep usage in sync with logic if OPENSSL_NO_DES is set.
ok jmc@, jsing@
-rw-r--r-- | usr.bin/openssl/genrsa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/openssl/genrsa.c b/usr.bin/openssl/genrsa.c index fdcd0c1105d..3b643ab5f5d 100644 --- a/usr.bin/openssl/genrsa.c +++ b/usr.bin/openssl/genrsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: genrsa.c,v 1.11 2018/02/07 05:47:55 jsing Exp $ */ +/* $OpenBSD: genrsa.c,v 1.12 2018/12/09 19:30:34 tobias Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -167,8 +167,10 @@ genrsa_main(int argc, char **argv) if ((argc >= 1) && ((sscanf(*argv, "%d", &num) == 0) || (num < 0))) { bad: BIO_printf(bio_err, "usage: genrsa [args] [numbits]\n"); +#ifndef OPENSSL_NO_DES BIO_printf(bio_err, " -des encrypt the generated key with DES in cbc mode\n"); BIO_printf(bio_err, " -des3 encrypt the generated key with DES in ede cbc mode (168 bit key)\n"); +#endif #ifndef OPENSSL_NO_IDEA BIO_printf(bio_err, " -idea encrypt the generated key with IDEA in cbc mode\n"); #endif |