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:
457f692
)
Make sure to compare unsigned against unsigned.
author
Richard Levitte
<levitte@openssl.org>
Wed, 28 May 2003 10:34:04 +0000
(10:34 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 28 May 2003 10:34:04 +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 4487a77b34ead4b331214b6f0003a0af64eb0340..3ae3822bc2af8f312ffa9cc17939caf0a7f80929 100644
(file)
--- a/
crypto/bn/bn_mul.c
+++ b/
crypto/bn/bn_mul.c
@@
-376,7
+376,7
@@
void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int tn,
/* The overflow will stop before we over write
* words we should not overwrite */
- if (ln < c1)
+ if (ln <
(BN_ULONG)
c1)
{
do {
p++;