diff options
author | Matt Caswell <matt@openssl.org> | 2016-02-08 16:43:03 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-02-09 15:11:38 +0000 |
commit | 7b9f8f7f03eda2faa1cdd42ed29a0b70e60eaf59 (patch) | |
tree | 30f805756265bd1d016aead84dcf1c909cca8b4b /engines/e_dasync.c | |
parent | b184e3ef73200cb3b7914a603b43a5b8a074c85f (diff) |
Auto init/deinit libcrypto
This builds on the previous commit to auto initialise/deinitialise
libcrypto.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'engines/e_dasync.c')
-rw-r--r-- | engines/e_dasync.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/e_dasync.c b/engines/e_dasync.c index 2f18d07db8..cca9f5e3e9 100644 --- a/engines/e_dasync.c +++ b/engines/e_dasync.c @@ -59,6 +59,7 @@ #include <openssl/evp.h> #include <openssl/async.h> #include <openssl/bn.h> +#include <openssl/crypto.h> #define DASYNC_LIB_NAME "DASYNC" #include "e_dasync_err.c" @@ -72,7 +73,7 @@ static const char *engine_dasync_name = "Dummy Async engine support"; static int dasync_destroy(ENGINE *e); static int dasync_init(ENGINE *e); static int dasync_finish(ENGINE *e); -void ENGINE_load_dasync(void); +void engine_load_dasync_internal(void); /* Set up digests. Just SHA1 for now */ @@ -210,7 +211,7 @@ static ENGINE *engine_dasync(void) return ret; } -void ENGINE_load_dasync(void) +void engine_load_dasync_internal(void) { ENGINE *toadd = engine_dasync(); if (!toadd) |