From 8f797f14b8ff7d3d5cb04443284259a0c94860b3 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 13 Nov 2002 15:30:25 +0000 Subject: When build as dynamic engines, the loading functions should be defined static. --- engines/e_cswift.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/e_cswift.c') 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 -- cgit v1.2.3