summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/openssl/crypto/engine/eng_all.c3
-rw-r--r--crypto/openssl/crypto/engine/eng_padlock.c2
-rw-r--r--secure/lib/libcrypto/Makefile2
3 files changed, 5 insertions, 2 deletions
diff --git a/crypto/openssl/crypto/engine/eng_all.c b/crypto/openssl/crypto/engine/eng_all.c
index 0f6992a..938d1ac 100644
--- a/crypto/openssl/crypto/engine/eng_all.c
+++ b/crypto/openssl/crypto/engine/eng_all.c
@@ -86,6 +86,9 @@ void ENGINE_load_builtin_engines(void)
#ifndef OPENSSL_NO_HW_UBSEC
ENGINE_load_ubsec();
#endif
+#ifndef OPENSSL_NO_HW_PADLOCK
+ ENGINE_load_padlock();
+#endif
#ifndef OPENSSL_NO_HW_AEP
ENGINE_load_aep();
#endif
diff --git a/crypto/openssl/crypto/engine/eng_padlock.c b/crypto/openssl/crypto/engine/eng_padlock.c
index db9c52b..4ca4f39 100644
--- a/crypto/openssl/crypto/engine/eng_padlock.c
+++ b/crypto/openssl/crypto/engine/eng_padlock.c
@@ -65,7 +65,7 @@
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#ifdef _MSC_VER
# define alloca _alloca
# define snprintf _snprintf
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index 81ac3c3..22c367f 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -129,7 +129,7 @@ INCS+= ec.h
# engine
SRCS+= eng_all.c eng_cnf.c eng_ctrl.c eng_dyn.c eng_err.c eng_fat.c \
- eng_init.c eng_lib.c eng_list.c eng_openssl.c eng_pkey.c \
+ eng_init.c eng_lib.c eng_list.c eng_openssl.c eng_padlock.c eng_pkey.c \
eng_table.c hw_4758_cca.c hw_4758_cca_err.c hw_aep.c hw_aep_err.c \
hw_atalla.c hw_atalla_err.c hw_cryptodev.c hw_cswift.c \
hw_cswift_err.c hw_ncipher.c hw_ncipher_err.c hw_nuron.c \
OpenPOWER on IntegriCloud