Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/ntp/libntp Include <config.h> and check if DES is defin...
details: https://anonhg.NetBSD.org/src/rev/5e532f1eb237
branches: trunk
changeset: 485033:5e532f1eb237
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Apr 17 05:47:22 2000 +0000
description:
Include <config.h> and check if DES is defined before building DES
routines.
diffstat:
dist/ntp/libntp/authparity.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r d16cdb7e6a78 -r 5e532f1eb237 dist/ntp/libntp/authparity.c
--- a/dist/ntp/libntp/authparity.c Mon Apr 17 05:46:46 2000 +0000
+++ b/dist/ntp/libntp/authparity.c Mon Apr 17 05:47:22 2000 +0000
@@ -1,8 +1,14 @@
-/* $NetBSD: authparity.c,v 1.1.1.1 2000/03/29 12:38:49 simonb Exp $ */
+/* $NetBSD: authparity.c,v 1.2 2000/04/17 05:47:22 simonb Exp $ */
/*
* auth_parity - set parity on a key/check for odd parity
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef DES
#include "ntp_stdlib.h"
int
@@ -57,3 +63,4 @@
*/
return (parity_err == 0);
}
+#endif /* DES */
Home |
Main Index |
Thread Index |
Old Index