Step 6 of move of engines: rename the macro ENGINE_DYNAMIC_SUPPORT to
[openssl.git] / engines / e_ncipher.c
index a43d4360f2a6c22bac789cc38a990458cd4d7524..614f9a1dde278faa381c3889934071385edaa9fa 100644 (file)
@@ -1325,7 +1325,7 @@ static void hwcrhk_log_message(void *logstr, const char *message)
 
 /* 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_hwcrhk_id) != 0))
@@ -1336,7 +1336,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_NCIPHER */
 #endif /* !OPENSSL_NO_HW */