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
50b45a78
Commit
50b45a78
authored
Dec 08, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Do not cast zero.
parent
9b0cba3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
md2.c
dlls/rsaenh/md2.c
+1
-1
mpi.c
dlls/rsaenh/mpi.c
+2
-2
No files found.
dlls/rsaenh/md2.c
View file @
50b45a78
...
@@ -77,7 +77,7 @@ static void md2_compress(md2_state *md2)
...
@@ -77,7 +77,7 @@ static void md2_compress(md2_state *md2)
md2
->
X
[
32
+
j
]
=
md2
->
X
[
j
]
^
md2
->
X
[
16
+
j
];
md2
->
X
[
32
+
j
]
=
md2
->
X
[
j
]
^
md2
->
X
[
16
+
j
];
}
}
t
=
(
unsigned
char
)
0
;
t
=
0
;
/* do 18 rounds */
/* do 18 rounds */
for
(
j
=
0
;
j
<
18
;
j
++
)
{
for
(
j
=
0
;
j
<
18
;
j
++
)
{
...
...
dlls/rsaenh/mpi.c
View file @
50b45a78
...
@@ -1009,7 +1009,7 @@ mp_count_bits (const mp_int * a)
...
@@ -1009,7 +1009,7 @@ mp_count_bits (const mp_int * a)
/* take the last digit and count the bits in it */
/* take the last digit and count the bits in it */
q
=
a
->
dp
[
a
->
used
-
1
];
q
=
a
->
dp
[
a
->
used
-
1
];
while
(
q
>
((
mp_digit
)
0
)
)
{
while
(
q
>
0
)
{
++
r
;
++
r
;
q
>>=
((
mp_digit
)
1
);
q
>>=
((
mp_digit
)
1
);
}
}
...
@@ -4351,7 +4351,7 @@ s_mp_sqr (const mp_int * a, mp_int * b)
...
@@ -4351,7 +4351,7 @@ s_mp_sqr (const mp_int * a, mp_int * b)
u
=
(
mp_digit
)(
r
>>
((
mp_word
)
DIGIT_BIT
));
u
=
(
mp_digit
)(
r
>>
((
mp_word
)
DIGIT_BIT
));
}
}
/* propagate upwards */
/* propagate upwards */
while
(
u
!=
((
mp_digit
)
0
)
)
{
while
(
u
!=
0
)
{
r
=
((
mp_word
)
*
tmpt
)
+
((
mp_word
)
u
);
r
=
((
mp_word
)
*
tmpt
)
+
((
mp_word
)
u
);
*
tmpt
++
=
(
mp_digit
)
(
r
&
((
mp_word
)
MP_MASK
));
*
tmpt
++
=
(
mp_digit
)
(
r
&
((
mp_word
)
MP_MASK
));
u
=
(
mp_digit
)(
r
>>
((
mp_word
)
DIGIT_BIT
));
u
=
(
mp_digit
)(
r
>>
((
mp_word
)
DIGIT_BIT
));
...
...
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