summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/genpkey.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:25:49 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:25:49 +0000
commita056df44fb3aa2746550522ad58825426312a3b4 (patch)
treeb558dd550e9ce67c8ba64c8e905cdad3e6d2b6e8 /usr.bin/openssl/genpkey.c
parent215dfd10aab48eb3b3518ad740ba8469cc060077 (diff)
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 'usr.bin/openssl/genpkey.c')
-rw-r--r--usr.bin/openssl/genpkey.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/openssl/genpkey.c b/usr.bin/openssl/genpkey.c
index 09b130e83a6..882d0ba13dc 100644
--- a/usr.bin/openssl/genpkey.c
+++ b/usr.bin/openssl/genpkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: genpkey.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
+/* $OpenBSD: genpkey.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
@@ -97,7 +97,6 @@ genpkey_main(int argc, char **argv)
outformat = FORMAT_PEM;
- OpenSSL_add_all_algorithms();
args = argv + 1;
while (!badarg && *args && *args[0] == '-') {
if (!strcmp(*args, "-outform")) {