Skip to content

Commit 13bf4d7

Browse files
authored
Merge pull request libgit2#4146 from pks-t/pks/winhttp-errors
winhttp: disambiguate error messages when sending requests
2 parents 53454be + b65a5e9 commit 13bf4d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transports/winhttp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ static int send_request(winhttp_stream *s, size_t len, int ignore_length)
881881
}
882882

883883
if ((error = do_send_request(s, len, ignore_length)) < 0)
884-
giterr_set(GITERR_OS, "failed to send request");
884+
giterr_set(GITERR_OS, "failed to send request with unchecked certificate");
885885

886886
return error;
887887
}

0 commit comments

Comments
 (0)