mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ntp: remove dependency on libmd (ntp has internal MD5 code)
@ 2016-10-03 19:27 Andreas Pretzsch
  2016-10-03 20:31 ` Andreas Pretzsch
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Pretzsch @ 2016-10-03 19:27 UTC (permalink / raw)
  To: ptxdist

libmd provides various message digest algorithms.
From these, ntp only uses MD5.
In case there is no system-wide MD5 (e.g. from libmd), ntp will use
its own implementation from lib/isc/md5.c instead.
Therefore, external dependency on libmd can be removed.

Signed-off-by: Andreas Pretzsch <apr@cn-eng.de>
---
build-tested with ntp-4.2.6p5, but code still present in ntp-4.2.8p7, so
I expect this will still work. Same applies for only using MD5 from libmd.

 rules/ntp.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/rules/ntp.in b/rules/ntp.in
index a1aa6d9..9f85406 100644
--- a/rules/ntp.in
+++ b/rules/ntp.in
@@ -8,7 +8,6 @@ menuconfig NTP
 	select LIBC_M
 	select LIBC_RT
 	select GCCLIBS_GCC_S
-	select LIBMD
 	help
 	  Build the standard NTP Daemon Process and supplementary programs.
 	  This conflicts with BSD openntpd.
-- 
2.9.3


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-04 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-03 19:27 [ptxdist] [PATCH] ntp: remove dependency on libmd (ntp has internal MD5 code) Andreas Pretzsch
2016-10-03 20:31 ` Andreas Pretzsch
2016-10-04 13:57   ` Michael Olbrich
2016-10-04 15:53     ` Andreas Pretzsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox