Test correct macro for "without crypto" option(s).

This commit is contained in:
Mark Murray 2003-07-20 23:29:46 +00:00
parent 45bbf62fb5
commit acce0bcdb3
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ CFLAGS+= -I${TELNETDIR}
WARNS?= 2
.if !defined(NO_CRYPTO)
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA
.if !defined(NO_KERBEROS)

View File

@ -28,7 +28,7 @@ LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
LDADD= -lutil -ltermcap ${LIBTELNET}
.if !defined(NO_CRYPTO)
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
SRCS+= authenc.c
CFLAGS+= -DAUTHENTICATION -DENCRYPTION
DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM}

View File

@ -30,7 +30,7 @@ SRCS+= genget.c getent.c misc.c
CFLAGS+= -DHAS_CGETENT
.endif
.if !defined(NO_CRYPTO)
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
SRCS+= authenc.c
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DIPSEC
DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}