summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/dh.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/dh.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/dh.c')
-rw-r--r--usr.bin/openssl/dh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/openssl/dh.c b/usr.bin/openssl/dh.c
index 447b4c800fd..ce109980903 100644
--- a/usr.bin/openssl/dh.c
+++ b/usr.bin/openssl/dh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dh.c,v 1.1 2014/08/26 17:47:24 jsing Exp $ */
+/* $OpenBSD: dh.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -168,7 +168,6 @@ bad:
#endif
goto end;
}
- ERR_load_crypto_strings();
#ifndef OPENSSL_NO_ENGINE
setup_engine(bio_err, engine, 0);