summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile.inc
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.inc
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.inc')
-rw-r--r--secure/lib/libcrypto/Makefile.inc9
1 files changed, 2 insertions, 7 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 28e800d..5d0bb82 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -15,13 +15,8 @@ CFLAGS+= -DDEVRANDOM=\"/dev/urandom\"
LOCALBASE?= /usr/local
-.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != NO
-.if !exists(${LOCALBASE}/lib/librsaref.a)
-CFLAGS+= -DNO_RSA -DNO_SSL2
-WITH_RSA= NO
-.else
+WITH_RSA?= YES
+.if (!defined(USA_RESIDENT) || ${USA_RESIDENT} != NO) && ${WITH_RSA} != NO
CFLAGS+= -DRSAref
RSAREF= YES
-WITH_RSA= YES
-.endif
.endif
OpenPOWER on IntegriCloud