diff options
author | jsing <> | 2014-08-28 14:25:48 +0000 |
---|---|---|
committer | jsing <> | 2014-08-28 14:25:48 +0000 |
commit | 8e6e28726f906fbe995c6de7cd80d82e57955744 (patch) | |
tree | 4a39860da7a83b722da25beda28a167030b3df00 /src/usr.bin/openssl/genpkey.c | |
parent | 3a2884e89a931573761460cdda84faf509e7ecd3 (diff) | |
download | openbsd-8e6e28726f906fbe995c6de7cd80d82e57955744.tar.gz openbsd-8e6e28726f906fbe995c6de7cd80d82e57955744.tar.bz2 openbsd-8e6e28726f906fbe995c6de7cd80d82e57955744.zip |
OpenSSL_add_all_algorithms() is called from openssl_startup() - it does not
need to also be called from some of the applications.
Diffstat (limited to 'src/usr.bin/openssl/genpkey.c')
-rw-r--r-- | src/usr.bin/openssl/genpkey.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/genpkey.c b/src/usr.bin/openssl/genpkey.c index 09b130e83a..882d0ba13d 100644 --- a/src/usr.bin/openssl/genpkey.c +++ b/src/usr.bin/openssl/genpkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: genpkey.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ | 1 | /* $OpenBSD: genpkey.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006 | 3 | * project 2006 |
4 | */ | 4 | */ |
@@ -97,7 +97,6 @@ genpkey_main(int argc, char **argv) | |||
97 | 97 | ||
98 | outformat = FORMAT_PEM; | 98 | outformat = FORMAT_PEM; |
99 | 99 | ||
100 | OpenSSL_add_all_algorithms(); | ||
101 | args = argv + 1; | 100 | args = argv + 1; |
102 | while (!badarg && *args && *args[0] == '-') { | 101 | while (!badarg && *args && *args[0] == '-') { |
103 | if (!strcmp(*args, "-outform")) { | 102 | if (!strcmp(*args, "-outform")) { |