summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-02-25 14:08:35 +0000
committerpeter <peter@FreeBSD.org>2000-02-25 14:08:35 +0000
commit2649bf3728cdb9d926080e75d0013074ca3ecc69 (patch)
tree1a397b61dc7cfdf64464293bc1fc100aa26a40db /secure
parent71756b1d368f32f75518f42cb04fb2cb86f40158 (diff)
downloadFreeBSD-src-2649bf3728cdb9d926080e75d0013074ca3ecc69.zip
FreeBSD-src-2649bf3728cdb9d926080e75d0013074ca3ecc69.tar.gz
Merge from internat.freebsd.org; make RSAREF=YES work correctly, although
this is not very useful as the US repo is missing bits.
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libcrypto/Makefile1
-rw-r--r--secure/lib/libcrypto/Makefile.inc1
2 files changed, 1 insertions, 1 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index 338e50f..fd3acc7 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -132,6 +132,7 @@ 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
.endif
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 5d0bb82..11fee3a 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -17,6 +17,5 @@ LOCALBASE?= /usr/local
WITH_RSA?= YES
.if (!defined(USA_RESIDENT) || ${USA_RESIDENT} != NO) && ${WITH_RSA} != NO
-CFLAGS+= -DRSAref
RSAREF= YES
.endif
OpenPOWER on IntegriCloud