]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
When build as dynamic engines, the loading functions should be defined
authorRichard Levitte <levitte@openssl.org>
Wed, 13 Nov 2002 15:30:25 +0000 (15:30 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Nov 2002 15:30:25 +0000 (15:30 +0000)
static.

engines/e_4758_cca.c
engines/e_atalla.c
engines/e_cswift.c
engines/e_ncipher.c
engines/e_nuron.c
engines/e_ubsec.c

index 203a8a75e6716327e67ed205d1aaa0971237ddfd..84de02df923041637589c87cf2ee5aaeb47fb149 100644 (file)
@@ -223,6 +223,7 @@ static int bind_helper(ENGINE *e)
        return 1;
        }
 
+#ifdef OPENSSL_NO_DYNAMIC_ENGINE
 static ENGINE *engine_4758_cca(void)
        {
        ENGINE *ret = ENGINE_new();
@@ -244,6 +245,7 @@ void ENGINE_load_4758cca(void)
        ENGINE_free(e_4758);
        ERR_clear_error();   
        }
+#endif
 
 static int ibm_4758_cca_destroy(ENGINE *e)
        {
index 65339a0d68dee12aae5183460495e51ecd3114f2..9922189420a0b99bca2644601f07c1d605d377a1 100644 (file)
@@ -243,6 +243,7 @@ static int bind_helper(ENGINE *e)
        return 1;
        }
 
+#ifdef OPENSSL_NO_DYNAMIC_ENGINE
 static ENGINE *engine_atalla(void)
        {
        ENGINE *ret = ENGINE_new();
@@ -265,6 +266,7 @@ void ENGINE_load_atalla(void)
        ENGINE_free(toadd);
        ERR_clear_error();
        }
+#endif
 
 /* This is a process-global DSO handle used for loading and unloading
  * the Atalla library. NB: This is only set (or unset) during an
index f3d36283660156d72ff7f6353c80f55034165bd4..ac4909857a15dbf034ed075f751f151971571ff0 100644 (file)
@@ -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
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
index d7960a9d9526d447cc60ae10ab8503039ad3591d..88f29640ec442a716a6ee9bab13fca9b2e8c2420 100644 (file)
@@ -375,6 +375,7 @@ static int bind_helper(ENGINE *e)
        return 1;
        }
 
+#ifdef OPENSSL_NO_DYNAMIC_ENGINE
 static ENGINE *engine_nuron(void)
        {
        ENGINE *ret = ENGINE_new();
@@ -397,6 +398,7 @@ void ENGINE_load_nuron(void)
        ENGINE_free(toadd);
        ERR_clear_error();
        }
+#endif
 
 /* This stuff is needed if this ENGINE is being compiled into a self-contained
  * shared-library. */     
index 35af495b71b4d2a411796b8db30a72349fa1012f..c5d1f5829a026f1522d31ef2abd7487585d0bffc 100644 (file)
@@ -243,6 +243,7 @@ static int bind_helper(ENGINE *e)
        return 1;
        }
 
+#ifdef OPENSSL_NO_DYNAMIC_ENGINE
 static ENGINE *engine_ubsec(void)
        {
        ENGINE *ret = ENGINE_new();
@@ -265,6 +266,7 @@ void ENGINE_load_ubsec(void)
        ENGINE_free(toadd);
        ERR_clear_error();
        }
+#endif
 
 /* This is a process-global DSO handle used for loading and unloading
  * the UBSEC library. NB: This is only set (or unset) during an