LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File openssl-0.9.7d-padlock-glue.diff of Package compat-openssl097g (Project openSUSE:11.4)

Index: crypto/engine/Makefile
===================================================================
--- crypto/engine/Makefile.orig
+++ crypto/engine/Makefile
@@ -29,14 +29,14 @@ LIBSRC= eng_err.c eng_lib.c eng_list.c e
 	eng_openssl.c eng_dyn.c eng_cnf.c \
 	hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c \
 	hw_cryptodev.c hw_aep.c hw_sureware.c hw_4758_cca.c \
-	hw_ibmca.c
+	hw_ibmca.c hw_padlock.c
 LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \
 	eng_table.o eng_pkey.o eng_fat.o eng_all.o \
 	tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o tb_cipher.o tb_digest.o \
 	eng_openssl.o eng_dyn.o eng_cnf.o \
 	hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o \
 	hw_cryptodev.o hw_aep.o hw_sureware.o hw_4758_cca.o \
-	hw_ibmca.o
+	hw_ibmca.o hw_padlock.o
 
 SRC= $(LIBSRC)
 
Index: crypto/engine/eng_all.c
===================================================================
--- crypto/engine/eng_all.c.orig
+++ crypto/engine/eng_all.c
@@ -101,6 +101,9 @@ void ENGINE_load_builtin_engines(void)
 #if defined(__OpenBSD__) || defined(__FreeBSD__)
 	ENGINE_load_cryptodev();
 #endif
+#ifndef OPENSSL_NO_HW_PADLOCK
+	ENGINE_load_padlock();
+#endif
 #endif
 	}
 
Index: crypto/engine/engine.h
===================================================================
--- crypto/engine/engine.h.orig
+++ crypto/engine/engine.h
@@ -310,6 +310,7 @@ void ENGINE_load_chil(void);
 void ENGINE_load_atalla(void);
 void ENGINE_load_nuron(void);
 void ENGINE_load_ubsec(void);
+void ENGINE_load_padlock(void);
 void ENGINE_load_aep(void);
 void ENGINE_load_sureware(void);
 void ENGINE_load_4758cca(void);