summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2021-05-27 11:32:38 +0200
committerBjörn Esser <besser82@fedoraproject.org>2021-05-27 11:32:38 +0200
commit39c1059400f2175e8b825d2eaa2275dffa1a17be (patch)
treee69278383427a1fe44a0ded9abc2f0ba39850183 /test
parentb571b43821a63b572d3403553def15e300013707 (diff)
downloadlibxcrypt-39c1059400f2175e8b825d2eaa2275dffa1a17be.tar.gz
libxcrypt-39c1059400f2175e8b825d2eaa2275dffa1a17be.tar.bz2
libxcrypt-39c1059400f2175e8b825d2eaa2275dffa1a17be.zip
test/checksalt.c: Adapt expected value for bugfix in crypt_checksalt().
Diffstat (limited to 'test')
-rw-r--r--test/checksalt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/checksalt.c b/test/checksalt.c
index 78ab248..4297bb5 100644
--- a/test/checksalt.c
+++ b/test/checksalt.c
@@ -30,7 +30,7 @@ struct testcase
static const struct testcase testcases[] =
{
#if INCLUDE_descrypt || INCLUDE_bigcrypt
- { "", CRYPT_SALT_METHOD_LEGACY, CRYPT_SALT_METHOD_LEGACY, CRYPT_SALT_METHOD_LEGACY },
+ { "", CRYPT_SALT_INVALID, CRYPT_SALT_METHOD_LEGACY, CRYPT_SALT_METHOD_LEGACY },
{ "..", CRYPT_SALT_METHOD_LEGACY, CRYPT_SALT_METHOD_LEGACY, CRYPT_SALT_METHOD_LEGACY },
{ "MN", CRYPT_SALT_METHOD_LEGACY, CRYPT_SALT_METHOD_LEGACY, CRYPT_SALT_METHOD_LEGACY },
#else