summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/dhparam.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:23:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:23:53 +0000
commit215dfd10aab48eb3b3518ad740ba8469cc060077 (patch)
treeffe83086fd2dc4670e6bfbb0a6f9813ec9c73517 /usr.bin/openssl/dhparam.c
parent4c4bae99e00961e8d37e98a49174f7a389695caa (diff)
openssl_setup() calls SSL_load_error_strings(), which happens to call
ERR_load_crypto_strings() - as such, we do not need to call the same function from most of the applications.
Diffstat (limited to 'usr.bin/openssl/dhparam.c')
-rw-r--r--usr.bin/openssl/dhparam.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/openssl/dhparam.c b/usr.bin/openssl/dhparam.c
index 0022f726701..468fa004198 100644
--- a/usr.bin/openssl/dhparam.c
+++ b/usr.bin/openssl/dhparam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhparam.c,v 1.1 2014/08/26 17:47:24 jsing Exp $ */
+/* $OpenBSD: dhparam.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -234,7 +234,6 @@ bad:
BIO_printf(bio_err, " -noout no output\n");
goto end;
}
- ERR_load_crypto_strings();
#ifndef OPENSSL_NO_ENGINE
setup_engine(bio_err, engine, 0);