]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2040] Provide a command-line option for the identity key bits
authorHarlan Stenn <stenn@ntp.org>
Thu, 29 Nov 2012 08:48:03 +0000 (03:48 -0500)
committerHarlan Stenn <stenn@ntp.org>
Thu, 29 Nov 2012 08:48:03 +0000 (03:48 -0500)
bk: 50b7214351QYU_LIfi-S2MteU4esEw

util/ntp-keygen.c

index b8f09b4e4440a04411796862f0897d30ef194090..e622f6db69f4a5df6978131cb2f2b42232672259 100644 (file)
@@ -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;