Lines Matching refs:error
42 const char *error, *scheme2;
47 test_assert(password_decode(crypted, scheme, &raw_password, &siz, &error) == 1);
48 test_assert(password_verify(plaintext, ¶ms, scheme, raw_password, siz, &error) == 1);
53 test_assert(password_decode(crypted, scheme, &raw_password, &siz, &error) == 1);
54 test_assert(password_verify(plaintext, ¶ms, scheme, raw_password, siz, &error) == 1);
77 const char *error;
83 test_assert(password_decode(crypted, scheme, &raw_password, &siz, &error) == 1);
84 test_assert(password_verify(plaintext, ¶ms, scheme, raw_password, siz, &error) == 0);
89 test_assert(password_decode(crypted, scheme, &raw_password, &siz, &error) == 0);
92 test_assert(password_verify(plaintext, ¶ms, "CRYPT", NULL, 0, &error) == 0);