diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-09-03 23:20:02 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-09-03 23:20:02 -0700 |
commit | ce7240c36c1f143812f86b01e05318474d569f1c (patch) | |
tree | 218f9c659207685873c939975b1525fcca1d22c4 /tests/018 | |
parent | 60dd1c1c6af5c179f598dea60896ba9584d139ad (diff) | |
download | txr-ce7240c36c1f143812f86b01e05318474d569f1c.tar.gz txr-ce7240c36c1f143812f86b01e05318474d569f1c.tar.bz2 txr-ce7240c36c1f143812f86b01e05318474d569f1c.zip |
crypt: newly proposed test still fails on Musl.
* tests/018/crypt.tl: replace (crypt "a" "*$") test with
(crypt "a" "::"). Musl's crypt treats all unrecognized hashes
through DES, and the DES module accepts almost anything
as salt characters, except '\0', '\n' and ':', since
those characters would wreck the password file.
Diffstat (limited to 'tests/018')
-rw-r--r-- | tests/018/crypt.tl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/018/crypt.tl b/tests/018/crypt.tl index 7e68d6c7..cdc51841 100644 --- a/tests/018/crypt.tl +++ b/tests/018/crypt.tl @@ -11,7 +11,7 @@ (if (eq :linux (os-symbol)) (mtest (crypt "a" "b") :error - (crypt "a" "*$") :error + (crypt "a" "::") :error (crypt "a" "$1$") "$1$$Ij31LCAysPM23KuPlm1wA/" (crypt "a" "$1$bcd$") "$1$bcd$cgz778Ks3pkbWfyW.CWae/" (crypt "a" "$5$") "$5$$QG6CCM7eJAxpUPcBpn0Z2K29NHtaI6Mk1fCpPrpjdj3" |