diff options
author | 2014-07-12 19:31:21 +0000 | |
---|---|---|
committer | 2014-07-12 19:31:21 +0000 | |
commit | 3923f0cde7ff47fab943dfb9c39d3295a3b3ac1e (patch) | |
tree | c48c52e30e9d4137d6f9ebe79ee99ea6f6f9085b /lib/libssl/src/apps/engine.c | |
parent | Make the BLOCK_CIPHER_{generic,custom} macros expand to more readable struct (diff) | |
download | wireguard-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/engine.c')
-rw-r--r-- | lib/libssl/src/apps/engine.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/src/apps/engine.c b/lib/libssl/src/apps/engine.c index f6a30784f9a..90404b57491 100644 --- a/lib/libssl/src/apps/engine.c +++ b/lib/libssl/src/apps/engine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: engine.c,v 1.25 2014/07/12 17:54:31 jsing Exp $ */ +/* $OpenBSD: engine.c,v 1.26 2014/07/12 19:31:21 jsing Exp $ */ /* Written by Richard Levitte <richard@levitte.org> for the OpenSSL * project 2000. */ @@ -333,8 +333,6 @@ engine_main(int argc, char **argv) BIO *bio_out = NULL; const char *indent = " "; - SSL_load_error_strings(); - bio_out = BIO_new_fp(stdout, BIO_NOCLOSE); argc--; |