diff options
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/openssl.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index 97321f0cac..c85a807d29 100644 --- a/src/usr.bin/openssl/openssl.c +++ b/src/usr.bin/openssl/openssl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: openssl.c,v 1.6 2015/09/10 16:43:06 jsing Exp $ */ | 1 | /* $OpenBSD: openssl.c,v 1.7 2015/09/11 14:30:23 bcook Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -126,10 +126,6 @@ | |||
126 | #include <openssl/ssl.h> | 126 | #include <openssl/ssl.h> |
127 | #include <openssl/x509.h> | 127 | #include <openssl/x509.h> |
128 | 128 | ||
129 | #ifndef OPENSSL_NO_ENGINE | ||
130 | #include <openssl/engine.h> | ||
131 | #endif | ||
132 | |||
133 | #include "progs.h" | 129 | #include "progs.h" |
134 | #include "s_apps.h" | 130 | #include "s_apps.h" |
135 | 131 | ||
@@ -162,9 +158,6 @@ FUNCTION functions[] = { | |||
162 | { FUNC_TYPE_GENERAL, "crl", crl_main }, | 158 | { FUNC_TYPE_GENERAL, "crl", crl_main }, |
163 | { FUNC_TYPE_GENERAL, "dgst", dgst_main }, | 159 | { FUNC_TYPE_GENERAL, "dgst", dgst_main }, |
164 | { FUNC_TYPE_GENERAL, "enc", enc_main }, | 160 | { FUNC_TYPE_GENERAL, "enc", enc_main }, |
165 | #ifndef OPENSSL_NO_ENGINE | ||
166 | { FUNC_TYPE_GENERAL, "engine", engine_main }, | ||
167 | #endif | ||
168 | { FUNC_TYPE_GENERAL, "errstr", errstr_main }, | 161 | { FUNC_TYPE_GENERAL, "errstr", errstr_main }, |
169 | { FUNC_TYPE_GENERAL, "genpkey", genpkey_main }, | 162 | { FUNC_TYPE_GENERAL, "genpkey", genpkey_main }, |
170 | { FUNC_TYPE_GENERAL, "nseq", nseq_main }, | 163 | { FUNC_TYPE_GENERAL, "nseq", nseq_main }, |
@@ -419,10 +412,6 @@ openssl_startup(void) | |||
419 | SSL_library_init(); | 412 | SSL_library_init(); |
420 | SSL_load_error_strings(); | 413 | SSL_load_error_strings(); |
421 | 414 | ||
422 | #ifndef OPENSSL_NO_ENGINE | ||
423 | ENGINE_load_builtin_engines(); | ||
424 | #endif | ||
425 | |||
426 | setup_ui_method(); | 415 | setup_ui_method(); |
427 | } | 416 | } |
428 | 417 | ||
@@ -433,11 +422,6 @@ openssl_shutdown(void) | |||
433 | destroy_ui_method(); | 422 | destroy_ui_method(); |
434 | OBJ_cleanup(); | 423 | OBJ_cleanup(); |
435 | EVP_cleanup(); | 424 | EVP_cleanup(); |
436 | |||
437 | #ifndef OPENSSL_NO_ENGINE | ||
438 | ENGINE_cleanup(); | ||
439 | #endif | ||
440 | |||
441 | CRYPTO_cleanup_all_ex_data(); | 425 | CRYPTO_cleanup_all_ex_data(); |
442 | ERR_remove_thread_state(NULL); | 426 | ERR_remove_thread_state(NULL); |
443 | ERR_free_strings(); | 427 | ERR_free_strings(); |