]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1727] ntp-keygen PLEN, ILEN undeclared --without-crypto.
authorDave Hart <hart@ntp.org>
Tue, 16 Nov 2010 20:36:48 +0000 (20:36 +0000)
committerDave Hart <hart@ntp.org>
Tue, 16 Nov 2010 20:36:48 +0000 (20:36 +0000)
bk: 4ce2eb60wMzk6n992DApPUzTmts54Q

ChangeLog
util/ntp-keygen.c

index 1c863cb92b850064c0e895a6cbf215ffec5c51e8..8f477cb0fbb592e14df47321ced5babf7b8d38e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* [Bug 1727] ntp-keygen PLEN, ILEN undeclared --without-crypto.
 * Remove top-level libopts, use sntp/libopts.
 (4.2.7p82) 2010/11/16 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 1728] from 4.2.6p3-RC11: In ntp_openssl.m4, don't add
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 */