From: Harlan Stenn Date: Thu, 29 Nov 2012 08:48:03 +0000 (-0500) Subject: [Bug 2040] Provide a command-line option for the identity key bits X-Git-Tag: NTP_4_2_7P327~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25e75cd2a996655006e63053aab84b79c979e711;p=thirdparty%2Fntp.git [Bug 2040] Provide a command-line option for the identity key bits bk: 50b7214351QYU_LIfi-S2MteU4esEw --- diff --git a/util/ntp-keygen.c b/util/ntp-keygen.c index b8f09b4e4..e622f6db6 100644 --- a/util/ntp-keygen.c +++ b/util/ntp-keygen.c @@ -397,6 +397,10 @@ main( mvpar++; nkeys = OPT_VALUE_MV_KEYS; } + + if (HAVE_OPT( IMBITS )) + modulus2 = OPT_VALUE_IMBITS; + if (HAVE_OPT( MODULUS )) modulus = OPT_VALUE_MODULUS;