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
dc525dab
Commit
dc525dab
authored
Mar 27, 2010
by
Mikhail Maroukhine
Committed by
Alexandre Julliard
Mar 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Fix compiler warnings with flag -Wcast-qual.
parent
feb257dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sha2.c
dlls/rsaenh/sha2.c
+2
-2
No files found.
dlls/rsaenh/sha2.c
View file @
dc525dab
...
...
@@ -490,7 +490,7 @@ void SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) {
}
while
(
len
>=
SHA256_BLOCK_LENGTH
)
{
/* Process as many complete blocks as we can */
SHA256_Transform
(
context
,
(
sha2_word32
*
)
data
);
SHA256_Transform
(
context
,
(
const
sha2_word32
*
)
data
);
context
->
bitcount
+=
SHA256_BLOCK_LENGTH
<<
3
;
len
-=
SHA256_BLOCK_LENGTH
;
data
+=
SHA256_BLOCK_LENGTH
;
...
...
@@ -812,7 +812,7 @@ void SHA512_Update(SHA512_CTX* context, const sha2_byte *data, size_t len) {
}
while
(
len
>=
SHA512_BLOCK_LENGTH
)
{
/* Process as many complete blocks as we can */
SHA512_Transform
(
context
,
(
sha2_word64
*
)
data
);
SHA512_Transform
(
context
,
(
const
sha2_word64
*
)
data
);
ADDINC128
(
context
->
bitcount
,
SHA512_BLOCK_LENGTH
<<
3
);
len
-=
SHA512_BLOCK_LENGTH
;
data
+=
SHA512_BLOCK_LENGTH
;
...
...
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