[Git][NTPsec/ntpsec][master] Remove a relic of Autokey.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Jan 30 08:22:16 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
6aec5206 by Eric S. Raymond at 2017-01-30T03:21:52-05:00
Remove a relic of Autokey.

- - - - -


4 changed files:

- include/ntp.h
- − include/ntp_crypto.h
- ntpd/ntp_control.c
- ntpd/ntp_parser.y


Changes:

=====================================
include/ntp.h
=====================================
--- a/include/ntp.h
+++ b/include/ntp.h
@@ -26,7 +26,6 @@ typedef unsigned int	u_int;
 #include <ntp_types.h>
 #include <ntp_lists.h>
 #include <ntp_stdlib.h>
-#include <ntp_crypto.h>
 #include <ntp_random.h>
 #include <ntp_net.h>
 


=====================================
include/ntp_crypto.h deleted
=====================================
--- a/include/ntp_crypto.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * ntp_crypto.h - definitions for cryptographic operations
- */
-#ifndef GUARD_NTP_CRYPTO_H
-#define GUARD_NTP_CRYPTO_H
-
-/*
- * Configuration codes
- */
-#define CRYPTO_CONF_NONE  0	/* nothing doing */
-#define CRYPTO_CONF_PRIV  1	/* host name */
-#define CRYPTO_CONF_IDENT 2	/* group name */
-#define CRYPTO_CONF_CERT  3	/* certificate file name */
-#define CRYPTO_CONF_RAND  4	/* random seed file name */
-#define CRYPTO_CONF_IFFPAR 5	/* IFF parameters file name */
-#define CRYPTO_CONF_GQPAR 6	/* GQ parameters file name */
-#define	CRYPTO_CONF_MVPAR 7	/* MV parameters file name */
-#define CRYPTO_CONF_PW	  8	/* private key password */
-#define	CRYPTO_CONF_NID   9	/* specify digest name */
-
-#endif /* GUARD_NTP_CRYPTO_H */


=====================================
ntpd/ntp_control.c
=====================================
--- a/ntpd/ntp_control.c
+++ b/ntpd/ntp_control.c
@@ -20,7 +20,6 @@
 #include "ntp_calendar.h"
 #include "ntp_stdlib.h"
 #include "ntp_config.h"
-#include "ntp_crypto.h"
 #include "ntp_assert.h"
 #include "ntp_leapsec.h"
 #include "lib_strbuf.h"


=====================================
ntpd/ntp_parser.y
=====================================
--- a/ntpd/ntp_parser.y
+++ b/ntpd/ntp_parser.y
@@ -20,7 +20,6 @@
   #include "ntp_filegen.h"
   #include "ntp_scanner.h"
   #include "ntp_config.h"
-  #include "ntp_crypto.h"
 
   #define YYMALLOC	emalloc
   #define YYFREE	free



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/6aec5206a9c7dc95a7a89f34027af47aca9be400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170130/144b5e77/attachment.html>


More information about the vc mailing list