diff options
Diffstat (limited to 'loginutils/cryptpw.c')
-rw-r--r-- | loginutils/cryptpw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/cryptpw.c b/loginutils/cryptpw.c index 1c30591..0847857 100644 --- a/loginutils/cryptpw.c +++ b/loginutils/cryptpw.c @@ -12,7 +12,7 @@ int cryptpw_main(int argc, char **argv) { char salt[sizeof("$N$XXXXXXXX")]; - if (!getopt32(argc, argv, "a:", NULL) || argv[optind - 1][0] != 'd') { + if (!getopt32(argv, "a:", NULL) || argv[optind - 1][0] != 'd') { strcpy(salt, "$1$"); /* Too ugly, and needs even more magic to handle endianness: */ //((uint32_t*)&salt)[0] = '$' + '1'*0x100 + '$'*0x10000; |