projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edd55d0
)
Make sure to compare unsigned against unsigned.
author
Richard Levitte
<levitte@openssl.org>
Wed, 28 May 2003 10:34:29 +0000
(10:34 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 28 May 2003 10:34:29 +0000
(10:34 +0000)
crypto/bn/bn_mul.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_mul.c
b/crypto/bn/bn_mul.c
index 4c413b3a5283defb4b850f8df17c4c0a2cfe491f..6b633b90b021f2f88ee74266c360b15f5ae5b87c 100644
(file)
--- a/
crypto/bn/bn_mul.c
+++ b/
crypto/bn/bn_mul.c
@@
-706,7
+706,7
@@
void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n,
/* The overflow will stop before we over write
* words we should not overwrite */
- if (ln < c1)
+ if (ln <
(BN_ULONG)
c1)
{
do {
p++;