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
c98e6c09
Commit
c98e6c09
authored
Aug 18, 2010
by
Austin Lund
Committed by
Alexandre Julliard
Aug 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add magic codes to HCRYPTKEY and HCRYPTHASH.
parent
06845036
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
20 deletions
+54
-20
crypt.c
dlls/advapi32/crypt.c
+50
-20
crypt.h
dlls/advapi32/crypt.h
+4
-0
No files found.
dlls/advapi32/crypt.c
View file @
c98e6c09
This diff is collapsed.
Click to expand it.
dlls/advapi32/crypt.h
View file @
c98e6c09
...
...
@@ -57,6 +57,8 @@ typedef struct tagPROVFUNCS
}
PROVFUNCS
,
*
PPROVFUNCS
;
#define MAGIC_CRYPTPROV 0xA39E741F
#define MAGIC_CRYPTKEY 0xA39E741E
#define MAGIC_CRYPTHASH 0xA39E741D
typedef
struct
tagCRYPTPROV
{
...
...
@@ -70,12 +72,14 @@ typedef struct tagCRYPTPROV
typedef
struct
tagCRYPTKEY
{
DWORD
dwMagic
;
PCRYPTPROV
pProvider
;
HCRYPTKEY
hPrivate
;
/*CSP's handle - Should not be given to application under any circumstances!*/
}
CRYPTKEY
,
*
PCRYPTKEY
;
typedef
struct
tagCRYPTHASH
{
DWORD
dwMagic
;
PCRYPTPROV
pProvider
;
HCRYPTHASH
hPrivate
;
/*CSP's handle - Should not be given to application under any circumstances!*/
}
CRYPTHASH
,
*
PCRYPTHASH
;
...
...
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