]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Initialize padlock in shared build.
authorAndy Polyakov <appro@openssl.org>
Thu, 4 Jan 2007 22:55:25 +0000 (22:55 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 4 Jan 2007 22:55:25 +0000 (22:55 +0000)
crypto/engine/eng_all.c

index 86b2f9a1c33b3bfc931b35937fed7b3a711d81cb..8599046717a5d23bcae3bd61ef56f51b9d1c7022 100644 (file)
@@ -67,6 +67,9 @@ void ENGINE_load_builtin_engines(void)
         * *no* builtin implementations). */
 #if 0
        ENGINE_load_openssl();
+#endif
+#if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_PADLOCK)
+       ENGINE_load_padlock();
 #endif
        ENGINE_load_dynamic();
 #ifndef OPENSSL_NO_STATIC_ENGINE
@@ -95,16 +98,15 @@ void ENGINE_load_builtin_engines(void)
 #ifndef OPENSSL_NO_HW_UBSEC
        ENGINE_load_ubsec();
 #endif
-#ifndef OPENSSL_NO_HW_PADLOCK
-       ENGINE_load_padlock();
+#endif
+#if !defined(OPENSSL_NO_GMP) && !defined(OPENSSL_NO_HW_GMP)
+       ENGINE_load_gmp();
 #endif
 #endif
+#ifndef OPENSSL_NO_HW
 #if defined(__OpenBSD__) || defined(__FreeBSD__)
        ENGINE_load_cryptodev();
 #endif
-#if !defined(OPENSSL_NO_GMP) && !defined(OPENSSL_NO_HW_GMP)
-       ENGINE_load_gmp();
-#endif
 #endif
        }