Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
4fe5b771
Commit
4fe5b771
authored
Sep 16, 2014
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: get rid of the cert ignore flag
This brings us back in line with the other transports.
parent
1e0aa105
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
src/transports/winhttp.c
+0
-7
No files found.
src/transports/winhttp.c
View file @
4fe5b771
...
@@ -388,13 +388,6 @@ static int winhttp_stream_connect(winhttp_stream *s)
...
@@ -388,13 +388,6 @@ static int winhttp_stream_connect(winhttp_stream *s)
if
(
t
->
owner
->
parent
.
read_flags
(
&
t
->
owner
->
parent
,
&
flags
)
<
0
)
if
(
t
->
owner
->
parent
.
read_flags
(
&
t
->
owner
->
parent
,
&
flags
)
<
0
)
goto
on_error
;
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 */
/* If we have a credential on the subtransport, apply it to the request */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment