Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 1995 04:00:08 -0700
From:      gordon@sneaky.lonestar.org
To:        freebsd-bugs
Subject:   bin/615: xntpd won't use DES encryption if it's available.
Message-ID:  <199507141100.EAA03816@freefall.cdrom.com>
In-Reply-To: Your message of Thu, 13 Jul 95 19:49 CDT <m0sWYwD-0001hDC@hammy.lonestar.org>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         615
>Category:       bin
>Synopsis:       xntpd won't use DES encryption if it's available.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 14 04:00:05 1995
>Originator:     Gordon Burditt
>Organization:
what organization? 
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Environment:
	FreeBSD 2.0.5, with /usr/src/secure tree installed.

>Description:

	The xntpd Makefile.inc does not recognize the no-export
	authdes.c if it's present because it's looking in the
	wrong directory for it.  Because it doesn't find it,
	it doesn't define DES and therefore the routines to call
	code in authdes.c aren't included.

	${.CURDIR} is one directory level below Makefile.inc, and
	path names need to be relative to ${.CURDIR}.

>How-To-Repeat:

	Install the /usr/src/secure tree.
	cd /usr/src/usr.sbin/xntpd; make
	Note that -DDES is not included on the command line of the compiles.

>Fix:

	Apply the following patch.
	
Index: /usr/src/usr.sbin/xntpd/Makefile.inc
*** 1.1	1995/07/13 22:33:38
--- Makefile.inc	1995/07/13 22:46:38
***************
*** 7,12 ****
  CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${AUTHDEFS} ${CLOCKDEFS} ${COPTS}
  BINDIR?= /usr/sbin
  
! .if !defined(NOCRYPT) && exists(${.CURDIR}/../../secure/usr.sbin/xntpd/lib)
  AUTHDEFS+=	-DDES
  .endif
--- 7,12 ----
  CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${AUTHDEFS} ${CLOCKDEFS} ${COPTS}
  BINDIR?= /usr/sbin
  
! .if !defined(NOCRYPT) && exists(${.CURDIR}/../../../secure/usr.sbin/xntpd/lib)
  AUTHDEFS+=	-DDES
  .endif

>Audit-Trail:
>Unformatted:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507141100.EAA03816>