mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 12:13:18 +00:00
winhttp: get rid of the cert ignore flag
This brings us back in line with the other transports.
This commit is contained in:
parent
1e0aa105fa
commit
4fe5b771b5
@ -388,13 +388,6 @@ static int winhttp_stream_connect(winhttp_stream *s)
|
||||
|
||||
if (t->owner->parent.read_flags(&t->owner->parent, &flags) < 0)
|
||||
goto on_error;
|
||||
|
||||
if ((GIT_TRANSPORTFLAGS_NO_CHECK_CERT & flags) &&
|
||||
!WinHttpSetOption(s->request, WINHTTP_OPTION_SECURITY_FLAGS,
|
||||
(LPVOID)&no_check_cert_flags, sizeof(no_check_cert_flags))) {
|
||||
giterr_set(GITERR_OS, "Failed to set options to ignore cert errors");
|
||||
goto on_error;
|
||||
}
|
||||
}
|
||||
|
||||
/* If we have a credential on the subtransport, apply it to the request */
|
||||
|
Loading…
Reference in New Issue
Block a user