Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6e4d52a7
Commit
6e4d52a7
authored
Oct 02, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Oct 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Fix potential crash on BSD.
parent
5272ca24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
winhttp.c
dlls/winhttp/tests/winhttp.c
+9
-6
No files found.
dlls/winhttp/tests/winhttp.c
View file @
6e4d52a7
...
...
@@ -876,12 +876,15 @@ static void test_secure_connection(void)
ret
=
WinHttpQueryOption
(
req
,
WINHTTP_OPTION_SECURITY_CERTIFICATE_STRUCT
,
&
info
,
&
size
);
ok
(
ret
,
"failed to retrieve certificate info %u
\n
"
,
GetLastError
());
trace
(
"lpszSubjectInfo %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszSubjectInfo
));
trace
(
"lpszIssuerInfo %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszIssuerInfo
));
trace
(
"lpszProtocolName %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProtocolName
));
trace
(
"lpszSignatureAlgName %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszSignatureAlgName
));
trace
(
"lpszEncryptionAlgName %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszEncryptionAlgName
));
trace
(
"dwKeySize %u
\n
"
,
info
.
dwKeySize
);
if
(
!
ret
)
{
trace
(
"lpszSubjectInfo %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszSubjectInfo
));
trace
(
"lpszIssuerInfo %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszIssuerInfo
));
trace
(
"lpszProtocolName %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProtocolName
));
trace
(
"lpszSignatureAlgName %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszSignatureAlgName
));
trace
(
"lpszEncryptionAlgName %s
\n
"
,
wine_dbgstr_w
(
info
.
lpszEncryptionAlgName
));
trace
(
"dwKeySize %u
\n
"
,
info
.
dwKeySize
);
}
ret
=
WinHttpReceiveResponse
(
req
,
NULL
);
ok
(
ret
,
"failed to receive response %u
\n
"
,
GetLastError
());
...
...
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