aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 338e50f4a286..fd3acc757e02 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 5d0bb8276593..11fee3a2bd53 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