aboutsummaryrefslogtreecommitdiff
path: root/secure/lib
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libcrypto/Makefile3
-rw-r--r--secure/lib/libcrypto/modules/legacy/Makefile7
-rw-r--r--secure/lib/libssl/Makefile2
3 files changed, 7 insertions, 5 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index f8f8d291ee9e..75ebb6e65327 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -649,10 +649,11 @@ _cmd1=/%%NO_ASM%%/d
.else
_cmd1=s/%%NO_ASM%%//
.endif
-.if ${MK_OPENSSL_KTLS} != "no"
+.if ${MK_OPENSSL_KTLS} != "no" && !defined(BOOTSTRAPPING)
_cmd2=/%%NO_KTLS%%/d
.else
_cmd2=s/%%NO_KTLS%%//
+CFLAGS+= -DOPENSSL_NO_KTLS
.endif
buildinf.h: Makefile
diff --git a/secure/lib/libcrypto/modules/legacy/Makefile b/secure/lib/libcrypto/modules/legacy/Makefile
index c16919ddcd94..db05f212f62a 100644
--- a/secure/lib/libcrypto/modules/legacy/Makefile
+++ b/secure/lib/libcrypto/modules/legacy/Makefile
@@ -1,7 +1,7 @@
SHLIB_NAME?= legacy.so
LIBADD= crypto
-SRCS+= legacyprov.c prov_running.c
+SRCS+= legacyprov.c prov_running.c params_idx.c
# ciphers
SRCS+= ciphercommon.c ciphercommon_hw.c ciphercommon_block.c \
@@ -21,11 +21,12 @@ SRCS+= digestcommon.c
SRCS+= md4_prov.c wp_prov.c ripemd_prov.c
# kdfs
-SRCS+= pbkdf1.c
+SRCS+= pbkdf1.c pvkkdf.c
.include <bsd.lib.mk>
-.PATH: ${LCRYPTO_SRC}/providers/implementations/ciphers \
+.PATH: ${LCRYPTO_SRC}/crypto \
+ ${LCRYPTO_SRC}/providers/implementations/ciphers \
${LCRYPTO_SRC}/providers/implementations/digests \
${LCRYPTO_SRC}/providers/implementations/kdfs \
${LCRYPTO_SRC}/ssl
diff --git a/secure/lib/libssl/Makefile b/secure/lib/libssl/Makefile
index acb63549c1c8..b0ca31644279 100644
--- a/secure/lib/libssl/Makefile
+++ b/secure/lib/libssl/Makefile
@@ -70,7 +70,7 @@ SRSC+= tls_pad.c
SRCS+= poll_immediate.c
SRCS+= rio_notifier.c poll_builder.c
-.if ${MK_OPENSSL_KTLS} == "no"
+.if ${MK_OPENSSL_KTLS} == "no" || defined(BOOTSTRAPPING)
CFLAGS+=-DOPENSSL_NO_KTLS
.else
SRCS+= ktls_meth.c