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
302dd345
Commit
302dd345
authored
Sep 29, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Oct 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Return signature algorithm name in WINHTTP_CERTIFICATE_INFO.
parent
b4851a8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
session.c
dlls/winhttp/session.c
+8
-1
No files found.
dlls/winhttp/session.c
View file @
302dd345
...
@@ -615,6 +615,7 @@ static BOOL request_query_option( object_header_t *hdr, DWORD option, LPVOID buf
...
@@ -615,6 +615,7 @@ static BOOL request_query_option( object_header_t *hdr, DWORD option, LPVOID buf
case
WINHTTP_OPTION_SECURITY_CERTIFICATE_STRUCT
:
case
WINHTTP_OPTION_SECURITY_CERTIFICATE_STRUCT
:
{
{
const
CERT_CONTEXT
*
cert
;
const
CERT_CONTEXT
*
cert
;
const
CRYPT_OID_INFO
*
oidInfo
;
WINHTTP_CERTIFICATE_INFO
*
ci
=
buffer
;
WINHTTP_CERTIFICATE_INFO
*
ci
=
buffer
;
FIXME
(
"partial stub
\n
"
);
FIXME
(
"partial stub
\n
"
);
...
@@ -632,7 +633,13 @@ static BOOL request_query_option( object_header_t *hdr, DWORD option, LPVOID buf
...
@@ -632,7 +633,13 @@ static BOOL request_query_option( object_header_t *hdr, DWORD option, LPVOID buf
ci
->
lpszSubjectInfo
=
blob_to_str
(
cert
->
dwCertEncodingType
,
&
cert
->
pCertInfo
->
Subject
);
ci
->
lpszSubjectInfo
=
blob_to_str
(
cert
->
dwCertEncodingType
,
&
cert
->
pCertInfo
->
Subject
);
ci
->
lpszIssuerInfo
=
blob_to_str
(
cert
->
dwCertEncodingType
,
&
cert
->
pCertInfo
->
Issuer
);
ci
->
lpszIssuerInfo
=
blob_to_str
(
cert
->
dwCertEncodingType
,
&
cert
->
pCertInfo
->
Issuer
);
ci
->
lpszProtocolName
=
NULL
;
ci
->
lpszProtocolName
=
NULL
;
ci
->
lpszSignatureAlgName
=
NULL
;
oidInfo
=
CryptFindOIDInfo
(
CRYPT_OID_INFO_OID_KEY
,
cert
->
pCertInfo
->
SignatureAlgorithm
.
pszObjId
,
0
);
if
(
oidInfo
)
ci
->
lpszSignatureAlgName
=
(
LPWSTR
)
oidInfo
->
pwszName
;
else
ci
->
lpszSignatureAlgName
=
NULL
;
ci
->
lpszEncryptionAlgName
=
NULL
;
ci
->
lpszEncryptionAlgName
=
NULL
;
ci
->
dwKeySize
=
128
;
ci
->
dwKeySize
=
128
;
...
...
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