diff options
author | Nils Larsch <nils@openssl.org> | 2005-05-31 20:38:31 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-05-31 20:38:31 +0000 |
commit | 431712293d5487e9f0c4b8fb788edc60cf31b35a (patch) | |
tree | b5cf67a58967962f760de2c6b1fe40ecbf28d939 /crypto/bn/bn_asm.c | |
parent | 335ed97263c1b590646ffab961ec8eddfec53074 (diff) |
fix assertion
PR: 1072
Diffstat (limited to 'crypto/bn/bn_asm.c')
-rw-r--r-- | crypto/bn/bn_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_asm.c b/crypto/bn/bn_asm.c index be8aa3ffc5..19978085b2 100644 --- 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; |