summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile.inc
diff options
context:
space:
mode:
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