Merge from internat.freebsd.org; deal with -DRSAref the same way as
libcrypto - not that it means much on the US code tree.
This commit is contained in:
parent
cfd62b902e
commit
42a75d55f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57485
@ -8,19 +8,21 @@ LDADD= -lssl -lcrypto
|
|||||||
NOMAN= noman
|
NOMAN= noman
|
||||||
|
|
||||||
OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps
|
OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps
|
||||||
|
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl/crypto
|
||||||
|
|
||||||
CFLAGS+= -DMONOLITH -DNO_IDEA -I${.CURDIR}
|
CFLAGS+= -DMONOLITH -DNO_IDEA -I${.CURDIR}
|
||||||
|
|
||||||
LOCALBASE?= /usr/local
|
WITH_RSA?= YES
|
||||||
|
.if ${WITH_RSA} == NO
|
||||||
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != NO
|
CFLAGS+= -DNO_RSA -DNO_SSL2
|
||||||
.if !exists(${LOCALBASE}/lib/librsaref.a)
|
|
||||||
CFLAGS+= -DNO_RSA -DNO_SSL2
|
|
||||||
.else
|
.else
|
||||||
CFLAGS+= -DRSAref
|
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != NO
|
||||||
LDADD+= ${LOCALBASE}/lib/librsaref.a
|
RSAREF= YES
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
.if (defined(RSAREF) && ${RSAREF} == YES) || !exists(${LCRYPTO_SRC}/rsa/rsa_eay.c)
|
||||||
|
CFLAGS+= -DRSAref
|
||||||
|
.endif
|
||||||
|
|
||||||
SRCS= apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c dh.c \
|
SRCS= apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c dh.c \
|
||||||
dsa.c dsaparam.c enc.c errstr.c gendh.c gendsa.c genrsa.c \
|
dsa.c dsaparam.c enc.c errstr.c gendh.c gendsa.c genrsa.c \
|
||||||
|
Loading…
Reference in New Issue
Block a user