summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/errstr.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-07-12 19:31:21 +0000
committerjsing <jsing@openbsd.org>2014-07-12 19:31:21 +0000
commit3923f0cde7ff47fab943dfb9c39d3295a3b3ac1e (patch)
treec48c52e30e9d4137d6f9ebe79ee99ea6f6f9085b /lib/libssl/src/apps/errstr.c
parentMake the BLOCK_CIPHER_{generic,custom} macros expand to more readable struct (diff)
downloadwireguard-openbsd-3923f0cde7ff47fab943dfb9c39d3295a3b3ac1e.tar.xz
wireguard-openbsd-3923f0cde7ff47fab943dfb9c39d3295a3b3ac1e.zip
In openssl_startup(), call SSL_library_init() and SSL_load_error_strings().
This allows us to remove the ERR_load_crypto_strings() call, along with the various SSL_load_error_strings() and OpenSSL_add_ssl_algorithms() calls scattered around the place. ok beck@
Diffstat (limited to 'lib/libssl/src/apps/errstr.c')
-rw-r--r--lib/libssl/src/apps/errstr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/src/apps/errstr.c b/lib/libssl/src/apps/errstr.c
index 2d7f26538aa..fd81818490e 100644
--- a/lib/libssl/src/apps/errstr.c
+++ b/lib/libssl/src/apps/errstr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errstr.c,v 1.17 2014/06/12 15:49:27 deraadt Exp $ */
+/* $OpenBSD: errstr.c,v 1.18 2014/07/12 19:31:21 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -76,8 +76,6 @@ errstr_main(int argc, char **argv)
char buf[256];
unsigned long l;
- SSL_load_error_strings();
-
if ((argc > 1) && (strcmp(argv[1], "-stats") == 0)) {
BIO *out = NULL;