From: Ulf Möller Date: Wed, 9 Jun 1999 21:13:27 +0000 (+0000) Subject: Circumvent bug in SC5 without patch #107357-01. X-Git-Tag: OpenSSL_0_9_4~194 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=adc7fe123bffef5514dd0fe18e184623a589b3d3;p=oweals%2Fopenssl.git Circumvent bug in SC5 without patch #107357-01. Submitted by: Andy Polyakov --- diff --git a/crypto/bn/bn_div.c b/crypto/bn/bn_div.c index baff07040a..defcf90c82 100644 --- a/crypto/bn/bn_div.c +++ b/crypto/bn/bn_div.c @@ -216,10 +216,10 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, t1=((BN_ULLONG)n0<>BN_BITS2) || - (t2 <= ((BN_ULLONG)(rem<>BN_BITS2) || + (t2 <= ((rem<