Searched defs:scheme2 (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/auth/
H A Dtest-libpassword.c42 const char *error, *scheme2; local
56 scheme2 = password_scheme_detect(plaintext, crypted, &params);
58 test_assert(scheme2 != NULL &&
59 (password_scheme_is_alias(scheme, scheme2) ||
60 schemes_are_known_non_alias(scheme, scheme2)));
H A Dpassword-scheme.c260 bool password_scheme_is_alias(const char *scheme1, const char *scheme2) argument
264 if (*scheme1 == '\0' || *scheme2 == '\0')
268 scheme2 = t_strcut(scheme2, '.');
270 if (strcasecmp(scheme1, scheme2) == 0)
274 s2 = hash_table_lookup(password_schemes, scheme2);

Completed in 12 milliseconds