summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-04-16 01:40:24 +0000
committerbde <bde@FreeBSD.org>1995-04-16 01:40:24 +0000
commitd711dde910c86304a876fd4edeba37490a07e29d (patch)
tree72be491171ae8193c51fe15ac468201f29a87898 /usr.sbin/xntpd
parent9aa224ba113c7f6eb1dcb63f553ea4126a612d02 (diff)
downloadFreeBSD-src-d711dde910c86304a876fd4edeba37490a07e29d.zip
FreeBSD-src-d711dde910c86304a876fd4edeba37490a07e29d.tar.gz
Do what the previous log message claimed to do and don't enable DES if
the user doesn't have the secure sources.
Diffstat (limited to 'usr.sbin/xntpd')
-rw-r--r--usr.sbin/xntpd/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/xntpd/Makefile.inc b/usr.sbin/xntpd/Makefile.inc
index b7b754b..bb225ee 100644
--- a/usr.sbin/xntpd/Makefile.inc
+++ b/usr.sbin/xntpd/Makefile.inc
@@ -7,6 +7,6 @@ CLOCKDEFS= -DLOCAL_CLOCK -DPST -DWWVB -DAS2201 -DGOES -DGPSTM -DOMEGA \
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${AUTHDEFS} ${CLOCKDEFS} ${COPTS}
BINDIR?= /usr/sbin
-.if !defined(NOCRYPT)
+.if !defined(NOCRYPT) && exists(${.CURDIR}/../../secure/usr.sbin/xntpd/lib)
AUTHDEFS+= -DDES
.endif
OpenPOWER on IntegriCloud