]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1727] ntp-keygen PLEN, ILEN undeclared --without-crypto.
authorDave Hart <hart@ntp.org>
Mon, 15 Nov 2010 22:30:55 +0000 (22:30 +0000)
committerDave Hart <hart@ntp.org>
Mon, 15 Nov 2010 22:30:55 +0000 (22:30 +0000)
bk: 4ce1b49f35La2EPdhPMPiapHf3hgeg

ChangeLog
util/ntp-keygen.c

index 002fed49c7db5165f9dc89e03492e602d86b7d06..94e380efef13d8a3fb78d1e2333b5b2f707c41e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* [Bug 1727] ntp-keygen PLEN, ILEN undeclared --without-crypto.
 (4.2.7p81) 2010/11/14 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 1681] from 4.2.6p3-RC10: More sntp logging cleanup.
 * [Bug 1683] from 4.2.6p3-RC10: Non-localhost on loopback exempted from
index 6daf6d1e2c827942c2de3e37fa612af99f9d9f4b..c6ab0fa3c1f5aeb04eea0006e003519b3366c8e6 100644 (file)
@@ -157,8 +157,6 @@ u_long      asn2ntp         (ASN1_TIME *);
 extern char *optarg;           /* command line argument */
 char   *progname;
 volatile int   debug = 0;      /* debug, not de bug */
-u_int  modulus = PLEN;         /* prime modulus size (bits) */
-u_int  modulus2 = ILEN;        /* identity modulus size (bits) */
 u_int  lifetime = YEAR;        /* cetificate lifetime (days) */
 int    nkeys;                  /* MV keys */
 time_t epoch;                  /* Unix epoch (seconds) since 1970 */
@@ -170,6 +168,8 @@ char        *passwd1 = NULL;        /* input private key password */
 char   *passwd2 = NULL;        /* output private key password */
 char   filename[MAXFILENAME + 1]; /* file name */
 #ifdef AUTOKEY
+u_int  modulus = PLEN;         /* prime modulus size (bits) */
+u_int  modulus2 = ILEN;        /* identity modulus size (bits) */
 long   d0, d1, d2, d3;         /* callback counters */
 #endif /* AUTOKEY */