From 488b8a69c1f26eba0e7f90c933b755379dfb0911 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 3 Sep 2023 23:20:02 -0700 Subject: 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. --- tests/018/crypt.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3