CHECK(host) &&
CHECK(path) &&
CHECK(username) &&
- (!match_password || CHECK(password));
+ (!match_password || CHECK(password)) &&
+ (!match_password || CHECK(credential));
#undef CHECK
}
PROMPT_ASKPASS);
}
-static int credential_has_capability(const struct credential_capability *capa,
- enum credential_op_type op_type)
+int credential_has_capability(const struct credential_capability *capa,
+ enum credential_op_type op_type)
{
/*
* We're checking here if each previous step indicated that we had the