Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
35922928
Commit
35922928
authored
Aug 15, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Use nameless unions/structs.
parent
29191436
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
schannel.c
dlls/secur32/schannel.c
+1
-2
No files found.
dlls/secur32/schannel.c
View file @
35922928
...
...
@@ -23,7 +23,6 @@
#include <stdlib.h>
#include <errno.h>
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
...
...
@@ -1229,7 +1228,7 @@ static SECURITY_STATUS SEC_ENTRY schan_QueryContextAttributesW(
/* RFC 5929 */
info
=
CryptFindOIDInfo
(
CRYPT_OID_INFO_OID_KEY
,
ctx
->
cert
->
pCertInfo
->
SignatureAlgorithm
.
pszObjId
,
0
);
if
(
info
&&
info
->
u
.
Algid
!=
CALG_SHA1
&&
info
->
u
.
Algid
!=
CALG_MD5
)
hash_alg
=
info
->
u
.
Algid
;
if
(
info
&&
info
->
Algid
!=
CALG_SHA1
&&
info
->
Algid
!=
CALG_MD5
)
hash_alg
=
info
->
Algid
;
hash_size
=
sizeof
(
hash
);
ret
=
CryptHashCertificate
(
0
,
hash_alg
,
0
,
ctx
->
cert
->
pbCertEncoded
,
ctx
->
cert
->
cbCertEncoded
,
hash
,
&
hash_size
);
...
...
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