Don't declare 2 WARNINGS sections
[openssl.git] / engines / e_ncipher.c
index f38a6a6b3578b39d8da57b423a8a300aea3f13bd..6126948ed18b7a4968097ae0fb288c1004612141 100644 (file)
@@ -372,6 +372,7 @@ static int bind_helper(ENGINE *e)
        return 1;
        }
 
+#ifdef OPENSSL_NO_DYNAMIC_ENGINE
 static ENGINE *engine_ncipher(void)
        {
        ENGINE *ret = ENGINE_new();
@@ -394,6 +395,7 @@ void ENGINE_load_chil(void)
        ENGINE_free(toadd);
        ERR_clear_error();
        }
+#endif
 
 /* This is a process-global DSO handle used for loading and unloading
  * the HWCryptoHook library. NB: This is only set (or unset) during an