6b8c7ea
--- openssl-0.9.8b/crypto/engine/eng_all.c.padlock	2005-04-19 15:24:44.000000000 +0200
6b8c7ea
+++ openssl-0.9.8b/crypto/engine/eng_all.c	2006-06-21 19:57:29.000000000 +0200
6b8c7ea
@@ -69,6 +69,9 @@
6b8c7ea
 	ENGINE_load_openssl();
6f11ea3
 #endif
6b8c7ea
 	ENGINE_load_dynamic();
6f11ea3
+#if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_PADLOCK)
6f11ea3
+	ENGINE_load_padlock();
6f11ea3
+#endif
6f11ea3
 #ifndef OPENSSL_NO_STATIC_ENGINE
6f11ea3
 #ifndef OPENSSL_NO_HW
6f11ea3
 #ifndef OPENSSL_NO_HW_4758_CCA
6b8c7ea
@@ -95,9 +98,6 @@
6f11ea3
 #ifndef OPENSSL_NO_HW_UBSEC
6f11ea3
 	ENGINE_load_ubsec();
6f11ea3
 #endif
6f11ea3
-#ifndef OPENSSL_NO_HW_PADLOCK
6f11ea3
-	ENGINE_load_padlock();
6f11ea3
-#endif
6f11ea3
 #endif
6f11ea3
 #if defined(__OpenBSD__) || defined(__FreeBSD__)
6f11ea3
 	ENGINE_load_cryptodev();