projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd26e6c
)
Avoid getting warnings about unary - being used on unsigned integer.
author
Richard Levitte
<levitte@openssl.org>
Tue, 21 Nov 2000 23:29:55 +0000
(23:29 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 21 Nov 2000 23:29:55 +0000
(23:29 +0000)
crypto/bn/bn_mul.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_mul.c
b/crypto/bn/bn_mul.c
index f730e5d2bf057a0054ecef464df76c71889a6cb4..02273549a0ec1c26950fc318935f475c9054ef7a 100644
(file)
--- a/
crypto/bn/bn_mul.c
+++ b/
crypto/bn/bn_mul.c
@@
-106,22
+106,22
@@
BN_ULONG bn_sub_part_words(BN_ULONG *r,
for (;;)
{
t = b[0];
- r[0] = (-t-c)&BN_MASK2;
+ r[0] = (
0
-t-c)&BN_MASK2;
if (t != 0) c=1;
if (++dl >= 0) break;
t = b[1];
- r[1] = (-t-c)&BN_MASK2;
+ r[1] = (
0
-t-c)&BN_MASK2;
if (t != 0) c=1;
if (++dl >= 0) break;
t = b[2];
- r[2] = (-t-c)&BN_MASK2;
+ r[2] = (
0
-t-c)&BN_MASK2;
if (t != 0) c=1;
if (++dl >= 0) break;
t = b[3];
- r[3] = (-t-c)&BN_MASK2;
+ r[3] = (
0
-t-c)&BN_MASK2;
if (t != 0) c=1;
if (++dl >= 0) break;