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
9cafb9c1
Commit
9cafb9c1
authored
Oct 25, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Use 0 instead of casting NULL to a handle of integer type.
parent
dfb8e7cb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
rsaenh.c
dlls/rsaenh/rsaenh.c
+2
-2
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+0
-0
No files found.
dlls/rsaenh/rsaenh.c
View file @
9cafb9c1
...
...
@@ -657,7 +657,7 @@ static inline void update_hash(CRYPTHASH *pCryptHash, CONST BYTE *pbData, DWORD
pbTemp
=
HeapAlloc
(
GetProcessHeap
(),
0
,
dwDataLen
);
if
(
!
pbTemp
)
return
;
memcpy
(
pbTemp
,
pbData
,
dwDataLen
);
RSAENH_CPEncrypt
(
pCryptHash
->
hProv
,
pCryptHash
->
hKey
,
(
HCRYPTHASH
)
NULL
,
FALSE
,
0
,
RSAENH_CPEncrypt
(
pCryptHash
->
hProv
,
pCryptHash
->
hKey
,
0
,
FALSE
,
0
,
pbTemp
,
&
dwDataLen
,
dwDataLen
);
HeapFree
(
GetProcessHeap
(),
0
,
pbTemp
);
break
;
...
...
@@ -701,7 +701,7 @@ static inline void finalize_hash(CRYPTHASH *pCryptHash) {
case
CALG_MAC
:
dwDataLen
=
0
;
RSAENH_CPEncrypt
(
pCryptHash
->
hProv
,
pCryptHash
->
hKey
,
(
HCRYPTHASH
)
NULL
,
TRUE
,
0
,
RSAENH_CPEncrypt
(
pCryptHash
->
hProv
,
pCryptHash
->
hKey
,
0
,
TRUE
,
0
,
pCryptHash
->
abHashValue
,
&
dwDataLen
,
pCryptHash
->
dwHashSize
);
break
;
...
...
dlls/rsaenh/tests/rsaenh.c
View file @
9cafb9c1
This diff is collapsed.
Click to expand it.
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