]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1002] ntp-keygen option and documentation updates
authorHarlan Stenn <stenn@ntp.org>
Tue, 28 Jan 2014 11:21:33 +0000 (06:21 -0500)
committerHarlan Stenn <stenn@ntp.org>
Tue, 28 Jan 2014 11:21:33 +0000 (06:21 -0500)
bk: 52e792bdLXo0WIPNe7iPFHyHjk2RmA

util/ntp-keygen.c

index 88e1f4b037eded9e91e06fec9b505b6873f94ff5..d55a3572cf2ab0b956964876a2a474f05ebe0fd2 100644 (file)
@@ -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++;