From: Richard Levitte Date: Wed, 28 May 2003 10:34:29 +0000 (+0000) Subject: Make sure to compare unsigned against unsigned. X-Git-Tag: BEN_FIPS_TEST_1~38^2~92 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f5f7dffdd11389a58aa18ff00ae9de0189d307de;p=oweals%2Fopenssl.git Make sure to compare unsigned against unsigned. --- diff --git a/crypto/bn/bn_mul.c b/crypto/bn/bn_mul.c index 4c413b3a52..6b633b90b0 100644 --- 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++;