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:
335ed97
)
fix assertion
author
Nils Larsch
<nils@openssl.org>
Tue, 31 May 2005 20:38:31 +0000
(20:38 +0000)
committer
Nils Larsch
<nils@openssl.org>
Tue, 31 May 2005 20:38:31 +0000
(20:38 +0000)
PR: 1072
crypto/bn/bn_asm.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_asm.c
b/crypto/bn/bn_asm.c
index be8aa3ffc5a4717cf43f81597f4f3a2f5d8a22bf..19978085b26a5506e4a61ba2850b2cc7be31f6c8 100644
(file)
--- a/
crypto/bn/bn_asm.c
+++ b/
crypto/bn/bn_asm.c
@@
-237,7
+237,7
@@
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d)
if (d == 0) return(BN_MASK2);
i=BN_num_bits_word(d);
- assert((i == BN_BITS2) || (h
>
(BN_ULONG)1<<i));
+ assert((i == BN_BITS2) || (h
<=
(BN_ULONG)1<<i));
i=BN_BITS2-i;
if (h >= d) h-=d;