summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/Makefile')
-rw-r--r--secure/lib/libcrypto/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index fd3acc7..6824189 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -125,15 +125,8 @@ SRCS+= rmd_dgst.c rmd_one.c
# rsa
.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
-CFLAGS+=-DRSAref
-.endif
+SRCS+= rsa_chk.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 rsa_stubs.c
.endif
# sha
@@ -166,10 +159,6 @@ HDRS= asn1/asn1.h asn1/asn1_mac.h bio/bio.h bf/blowfish.h bn/bn.h \
sha/sha.h stack/stack.h tmdiff.h txt_db/txt_db.h x509/x509.h \
x509/x509_vfy.h x509v3/x509v3.h
-.if defined(RSAREF) && ${RSAREF} == YES
-HDRS+= ../rsaref/rsaref.h
-.endif
-
beforedepend: ${.OBJDIR}/obj_dat.h ${.OBJDIR}/buildinf.h \
${.OBJDIR}/openssl/opensslconf.h headers
OpenPOWER on IntegriCloud