summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-02-25 08:18:43 +0000
committerpeter <peter@FreeBSD.org>2000-02-25 08:18:43 +0000
commitfe21c9e7b58cd6705488ad57779e46bf3b9c3261 (patch)
treeadce36f952dee0c742060a90dd9bb6ea5dc5a93c /secure/lib/libcrypto/Makefile
parent3c33910f68349736b344a9c1f1d31756c2d172c9 (diff)
downloadFreeBSD-src-fe21c9e7b58cd6705488ad57779e46bf3b9c3261.zip
FreeBSD-src-fe21c9e7b58cd6705488ad57779e46bf3b9c3261.tar.gz
Fold libRSAglue into libcrypto so we don't have to special-case
all the builds. There is still no actual RSA implementation code in libcrypto or src/* on US code trees.
Diffstat (limited to 'secure/lib/libcrypto/Makefile')
-rw-r--r--secure/lib/libcrypto/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index 38117ff..338e50f 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -127,9 +127,11 @@ SRCS+= rmd_dgst.c rmd_one.c
.if defined(WITH_RSA) && ${WITH_RSA} == YES
SRCS+= rsa_chk.c rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c rsa_oaep.c \
rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c
+.if (!defined(RSAREF) || ${RSAREF} != YES) && exists(${LCRYPTO_SRC}/rsa/rsa_eay.c)
+SRCS+= rsa_eay.c # native rsa
+.else
+SRCS+= rsar_err.c rsaref.c rsaref_stubs.c # external rsaref
HDRS+= ../rsaref/rsaref.h
-.if !defined(RSAREF) || ${RSAREF} != YES
-SRCS+= rsa_eay.c
.endif
.endif
@@ -214,7 +216,7 @@ beforeinstall: ${.OBJDIR}/openssl/opensslconf.h
${LCRYPTO_SRC}/mdc2 ${LCRYPTO_SRC}/objects ${LCRYPTO_SRC}/pem \
${LCRYPTO_SRC}/pkcs7 ${LCRYPTO_SRC}/pkcs12 ${LCRYPTO_SRC}/rand \
${LCRYPTO_SRC}/rc2 ${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 \
- ${LCRYPTO_SRC}/ripemd ${LCRYPTO_SRC}/rsa \
+ ${LCRYPTO_SRC}/ripemd ${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref \
${LCRYPTO_SRC}/sha ${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db \
${LCRYPTO_SRC}/x509 ${LCRYPTO_SRC}/x509v3
OpenPOWER on IntegriCloud