summaryrefslogtreecommitdiffstats
path: root/engines/e_cswift.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-10-11 18:06:08 +0000
committerRichard Levitte <levitte@openssl.org>2002-10-11 18:06:08 +0000
commitecd45314b88cc4b630955b8f9c8d146b0d7a317b (patch)
tree790d9345d46d655a91380f78c496eb13c493719e /engines/e_cswift.c
parent3e06fb754e025168bdf450de87be5953f0c65cbf (diff)
downloadopenssl-ecd45314b88cc4b630955b8f9c8d146b0d7a317b.tar.gz
Step 6 of move of engines: rename the macro ENGINE_DYNAMIC_SUPPORT to
OPENSSL_NO_DYNAMIC_ENGINE and make sure that gets defined unless shared library support has been specifically requested.
Diffstat (limited to 'engines/e_cswift.c')
-rw-r--r--engines/e_cswift.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_cswift.c b/engines/e_cswift.c
index 1b4e4e876e..a813227149 100644
--- a/engines/e_cswift.c
+++ b/engines/e_cswift.c
@@ -978,7 +978,7 @@ static int cswift_rand_status(void)
/* This stuff is needed if this ENGINE is being compiled into a self-contained
* shared-library. */
-#ifdef ENGINE_DYNAMIC_SUPPORT
+#ifndef OPENSSL_NO_DYNAMIC_ENGINE
static int bind_fn(ENGINE *e, const char *id)
{
if(id && (strcmp(id, engine_cswift_id) != 0))
@@ -989,7 +989,7 @@ static int bind_fn(ENGINE *e, const char *id)
}
IMPLEMENT_DYNAMIC_CHECK_FN()
IMPLEMENT_DYNAMIC_BIND_FN(bind_fn)
-#endif /* ENGINE_DYNAMIC_SUPPORT */
+#endif /* OPENSSL_NO_DYNAMIC_ENGINE */
#endif /* !OPENSSL_NO_HW_CSWIFT */
#endif /* !OPENSSL_NO_HW */