Avoid duplicate definition of git_http_auth_dummy

Avoid defining `git_http_auth_ntlm` when not using ntlm; this will be
set to a dummy function instead.
This commit is contained in:
Edward Thomson
2025-06-05 13:20:29 +01:00
parent c881632306
commit dd65bfe181

View File

@@ -333,11 +333,13 @@ int git_http_auth_negotiate(
}
#endif
#ifdef GIT_AUTH_NTLM
int git_http_auth_ntlm(
git_http_auth_context **out,
const git_net_url *url)
{
return sspi_init_context(out, GIT_HTTP_AUTH_NTLM, url);
}
#endif
#endif /* GIT_WIN32 */