mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Merge pull request #7077 from JohannesWilde/AvoidDuplicateDefinition
Avoid duplicate definition of git_http_auth_dummy.
This commit is contained in:
@@ -324,18 +324,22 @@ static int sspi_init_context(
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef GIT_AUTH_NEGOTIATE
|
||||
int git_http_auth_negotiate(
|
||||
git_http_auth_context **out,
|
||||
const git_net_url *url)
|
||||
{
|
||||
return sspi_init_context(out, GIT_HTTP_AUTH_NEGOTIATE, url);
|
||||
}
|
||||
#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 */
|
||||
|
||||
Reference in New Issue
Block a user