[Pkg-openssl-devel] Bug#345656: openssl: padlock engine missing.

Kurt Roeckx kurt at roeckx.be
Tue Jan 3 16:01:55 UTC 2006


Hi Jan,

I believe the attached patch should work around the problem so
that you can use it in a shared library.

Note that this is just a workaround for the problem, and not
the proper way to fix it.  We're still discussing it with
upstream what the proper way to handle this is.


PS: You probably also want the patch from
http://cvs.openssl.org/chngview?cn=14722


Kurt

-------------- next part --------------
--- crypto/engine/eng_all.c.old	2006-01-03 16:55:22.000000000 +0100
+++ crypto/engine/eng_all.c	2006-01-03 16:55:42.000000000 +0100
@@ -95,9 +95,6 @@
 #ifndef OPENSSL_NO_HW_UBSEC
 	ENGINE_load_ubsec();
 #endif
-#ifndef OPENSSL_NO_HW_PADLOCK
-	ENGINE_load_padlock();
-#endif
 #endif
 #if defined(__OpenBSD__) || defined(__FreeBSD__)
 	ENGINE_load_cryptodev();
@@ -106,6 +103,9 @@
 	ENGINE_load_gmp();
 #endif
 #endif
+#ifndef OPENSSL_NO_HW_PADLOCK
+	ENGINE_load_padlock();
+#endif
 	}
 
 #if defined(__OpenBSD__) || defined(__FreeBSD__)


More information about the Pkg-openssl-devel mailing list