aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/modules
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/modules')
-rw-r--r--secure/lib/libcrypto/modules/Makefile.inc10
-rw-r--r--secure/lib/libcrypto/modules/legacy/Makefile40
2 files changed, 38 insertions, 12 deletions
diff --git a/secure/lib/libcrypto/modules/Makefile.inc b/secure/lib/libcrypto/modules/Makefile.inc
index 363b7f4bc766..64fb57ee74c5 100644
--- a/secure/lib/libcrypto/modules/Makefile.inc
+++ b/secure/lib/libcrypto/modules/Makefile.inc
@@ -1,4 +1,5 @@
-PACKAGE?= openssl-lib
+PACKAGE?= openssl
+LIB_PACKAGE=
SHLIBDIR= ${LIBDIR}/ossl-modules
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
@@ -9,11 +10,4 @@ CFLAGS+= -I${LCRYPTO_SRC}/providers/common/include
CFLAGS+= -I${LCRYPTO_SRC}/providers/fips/include
CFLAGS+= -I${LCRYPTO_SRC}/providers/implementations/include
-# common
-SRCS+= provider_err.c provider_ctx.c
-SRCS+= provider_util.c
-
-.PATH: ${LCRYPTO_SRC}/providers \
- ${LCRYPTO_SRC}/providers/common
-
WARNS?= 0
diff --git a/secure/lib/libcrypto/modules/legacy/Makefile b/secure/lib/libcrypto/modules/legacy/Makefile
index c16919ddcd94..8f91d9504504 100644
--- a/secure/lib/libcrypto/modules/legacy/Makefile
+++ b/secure/lib/libcrypto/modules/legacy/Makefile
@@ -16,16 +16,48 @@ SRCS+= cipher_rc4.c cipher_rc4_hw.c
SRCS+= cipher_rc4_hmac_md5.c cipher_rc4_hmac_md5_hw.c
SRCS+= cipher_seed.c cipher_seed_hw.c
-# digests
+# crypto
+SRCS+= cpuid.c
+SRCS+= ctype.c
+
+# crypto/des
+SRCS+= des_enc.c
+SRCS+= fcrypt_b.c
+
+# crypto/md5
+SRCS+= md5_dgst.c
+SRCS+= md5_one.c
+SRCS+= md5_sha1.c
+
+# providers/implementations/digests
SRCS+= digestcommon.c
SRCS+= md4_prov.c wp_prov.c ripemd_prov.c
-# kdfs
+# providers/implementations/kdfs
SRCS+= pbkdf1.c
+SRCS+= pvkkdf.c
+
+# common
+SRCS+= provider_err.c provider_ctx.c
+SRCS+= provider_util.c
+
+SRCS+= tls_pad.c
+
+# This is needed so the provider can be loaded for us.
+#
+# There's a discrepancy between how this provider gets built in OpenSSL proper
+# and FreeBSD.
+SRCS+= params_idx.c
.include <bsd.lib.mk>
-.PATH: ${LCRYPTO_SRC}/providers/implementations/ciphers \
+.PATH: ${LCRYPTO_SRC}/crypto \
+ ${LCRYPTO_SRC}/crypto/des \
+ ${LCRYPTO_SRC}/crypto/md5 \
+ ${LCRYPTO_SRC}/providers \
+ ${LCRYPTO_SRC}/providers/common \
+ ${LCRYPTO_SRC}/providers/implementations/ciphers \
${LCRYPTO_SRC}/providers/implementations/digests \
${LCRYPTO_SRC}/providers/implementations/kdfs \
- ${LCRYPTO_SRC}/ssl
+ ${LCRYPTO_SRC}/ssl \
+ ${LCRYPTO_SRC}/ssl/record/methods \