summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/authparity.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2001-08-29 14:35:15 +0000
committerroberto <roberto@FreeBSD.org>2001-08-29 14:35:15 +0000
commit40b8e415eb0f835a9dd7a473ddf134ec67877fd7 (patch)
tree3cfb63f1a112ee17469b17fc1593a88d004ddda6 /contrib/ntp/libntp/authparity.c
parenta5a8dc6136fcee95f261a31609a25669038c3861 (diff)
downloadFreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.zip
FreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.tar.gz
Virgin import of ntpd 4.1.0
Diffstat (limited to 'contrib/ntp/libntp/authparity.c')
-rw-r--r--contrib/ntp/libntp/authparity.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/ntp/libntp/authparity.c b/contrib/ntp/libntp/authparity.c
index 32fde58..ea5eac0 100644
--- a/contrib/ntp/libntp/authparity.c
+++ b/contrib/ntp/libntp/authparity.c
@@ -1,6 +1,12 @@
/*
* 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
@@ -55,3 +61,6 @@ DESauth_parity(
*/
return (parity_err == 0);
}
+#else
+int authparity_bs;
+#endif /* DES */
OpenPOWER on IntegriCloud