diff options
Diffstat (limited to 'lib/crypt-des.c')
-rw-r--r-- | lib/crypt-des.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/crypt-des.c b/lib/crypt-des.c index e3509ec..0ab786b 100644 --- a/lib/crypt-des.c +++ b/lib/crypt-des.c @@ -435,8 +435,9 @@ gensalt_bigcrypt_rn (unsigned long count, gensalt_descrypt_rn (count, rbytes, nrbytes, output, output_size); #if !INCLUDE_descrypt - /* ... add 12 trailing characters to signalize bigcrypt. */ - XCRYPT_STRCPY_OR_ABORT (output + 2, output_size - 2, "............"); + /* ... add 12 trailing dummy characters, which makes the string too + long to be a descrypt setting, thus bigcrypt will be used. */ + strcpy_or_abort (output + 2, output_size - 2, "............"); #endif } #endif |