From: Harlan Stenn Date: Tue, 28 Jan 2014 11:21:33 +0000 (-0500) Subject: [Bug 1002] ntp-keygen option and documentation updates X-Git-Tag: NTP_4_2_7P414~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=704d8f0784f936e80a20fba6a3ce7ad2161f3f25;p=thirdparty%2Fntp.git [Bug 1002] ntp-keygen option and documentation updates bk: 52e792bdLXo0WIPNe7iPFHyHjk2RmA --- diff --git a/util/ntp-keygen.c b/util/ntp-keygen.c index 88e1f4b03..d55a3572c 100644 --- a/util/ntp-keygen.c +++ b/util/ntp-keygen.c @@ -370,11 +370,11 @@ main( if (HAVE_OPT( MD5KEY )) md5key++; #ifdef AUTOKEY - if (HAVE_OPT( PVT_PASSWD )) - passwd1 = estrdup(OPT_ARG( PVT_PASSWD )); + if (HAVE_OPT( PASSWORD )) + passwd1 = estrdup(OPT_ARG( PASSWORD )); - if (HAVE_OPT( GET_PVT_PASSWD )) - passwd2 = estrdup(OPT_ARG( GET_PVT_PASSWD )); + if (HAVE_OPT( EXPORT_PASSWD )) + passwd2 = estrdup(OPT_ARG( EXPORT_PASSWD )); if (HAVE_OPT( HOST_KEY )) hostkey++;