diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-13 15:30:25 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-13 15:30:25 +0000 |
commit | 8f797f14b8ff7d3d5cb04443284259a0c94860b3 (patch) | |
tree | 9313f4139e28c11b4421bd2e6d0f8691836965de /engines/e_cswift.c | |
parent | c0d64de6602c8afd389a22c65bd1be63b5685b08 (diff) |
When build as dynamic engines, the loading functions should be defined
static.
Diffstat (limited to 'engines/e_cswift.c')
-rw-r--r-- | engines/e_cswift.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/e_cswift.c b/engines/e_cswift.c index f3d3628366..ac4909857a 100644 --- a/engines/e_cswift.c +++ b/engines/e_cswift.c @@ -262,6 +262,7 @@ static int bind_helper(ENGINE *e) return 1; } +#ifdef OPENSSL_NO_DYNAMIC_ENGINE static ENGINE *engine_cswift(void) { ENGINE *ret = ENGINE_new(); @@ -284,6 +285,7 @@ void ENGINE_load_cswift(void) ENGINE_free(toadd); ERR_clear_error(); } +#endif /* This is a process-global DSO handle used for loading and unloading * the CryptoSwift library. NB: This is only set (or unset) during an |