Test correct macro for "without crypto" option(s).
This commit is contained in:
parent
45bbf62fb5
commit
acce0bcdb3
@ -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)
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user