Fix typo s/method/crypt_method/
This commit is contained in:
parent
90de228897
commit
63a4e65ca1
@ -191,16 +191,16 @@ int main (int argc, char **argv)
|
|||||||
usage ();
|
usage ();
|
||||||
}
|
}
|
||||||
if (cflg) {
|
if (cflg) {
|
||||||
if (0 != strcmp (method, "DES") &&
|
if (0 != strcmp (crypt_method, "DES") &&
|
||||||
0 != strcmp (method, "MD5") &&
|
0 != strcmp (crypt_method, "MD5") &&
|
||||||
#ifdef ENCRYPTMETHOD_SELECT
|
#ifdef ENCRYPTMETHOD_SELECT
|
||||||
0 != strcmp (method, "SHA256") &&
|
0 != strcmp (crypt_method, "SHA256") &&
|
||||||
0 != strcmp (method, "SHA512")
|
0 != strcmp (crypt_method, "SHA512")
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: unsupported crypt method: %s\n"),
|
_("%s: unsupported crypt method: %s\n"),
|
||||||
Prog, method);
|
Prog, crypt_method);
|
||||||
usage ();
|
usage ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -185,16 +185,16 @@ int main (int argc, char **argv)
|
|||||||
usage ();
|
usage ();
|
||||||
}
|
}
|
||||||
if (cflg) {
|
if (cflg) {
|
||||||
if (0 != strcmp (method, "DES") &&
|
if (0 != strcmp (crypt_method, "DES") &&
|
||||||
0 != strcmp (method, "MD5") &&
|
0 != strcmp (crypt_method, "MD5") &&
|
||||||
#ifdef ENCRYPTMETHOD_SELECT
|
#ifdef ENCRYPTMETHOD_SELECT
|
||||||
0 != strcmp (method, "SHA256") &&
|
0 != strcmp (crypt_method, "SHA256") &&
|
||||||
0 != strcmp (method, "SHA512")
|
0 != strcmp (crypt_method, "SHA512")
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: unsupported crypt method: %s\n"),
|
_("%s: unsupported crypt method: %s\n"),
|
||||||
Prog, method);
|
Prog, crypt_method);
|
||||||
usage ();
|
usage ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user