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
56d9ed83
Commit
56d9ed83
authored
May 13, 2022
by
Paul Gofman
Committed by
Alexandre Julliard
May 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Output FIXME when HMAC hash algorithm is not found.
Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
06e125ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
rsaenh.c
dlls/rsaenh/rsaenh.c
+7
-1
No files found.
dlls/rsaenh/rsaenh.c
View file @
56d9ed83
...
...
@@ -690,7 +690,13 @@ static inline BOOL init_hash(CRYPTHASH *pCryptHash) {
const
PROV_ENUMALGS_EX
*
pAlgInfo
;
pAlgInfo
=
get_algid_info
(
pCryptHash
->
hProv
,
pCryptHash
->
pHMACInfo
->
HashAlgid
);
if
(
!
pAlgInfo
)
return
FALSE
;
if
(
!
pAlgInfo
)
{
/* A number of hash algorithms (e. g., _SHA256) are supported for HMAC even for providers
* which don't list the algorithm, so print a fixme here. */
FIXME
(
"Hash algroithm %#x not found.
\n
"
,
pCryptHash
->
pHMACInfo
->
HashAlgid
);
return
FALSE
;
}
pCryptHash
->
dwHashSize
=
pAlgInfo
->
dwDefaultLen
>>
3
;
init_hash_impl
(
pCryptHash
->
pHMACInfo
->
HashAlgid
,
&
pCryptHash
->
hash_handle
);
update_hash_impl
(
pCryptHash
->
hash_handle
,
...
...
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