Circument egcs bug.
authorBodo Möller <bodo@openssl.org>
Wed, 26 May 1999 19:59:36 +0000 (19:59 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 26 May 1999 19:59:36 +0000 (19:59 +0000)
Submitted by: Andy Polyakov <appro@fy.chalmers.se>

crypto/bn/bn_asm.c

index 05ede3b25029d9bc60d9437cfaaaf3da580d3120..7f4c3ff3b2cdb366d2044697440aa5a834a4aafb 100644 (file)
@@ -93,7 +93,8 @@ BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
        bn_check_num(num);
        if (num <= 0) return(c1);
 
-       for (;;)
+       /* for (;;) */
+       while (1) /* circumvent egcs-1.1.2 bug */
                {
                mul(rp[0],ap[0],w,c1);
                if (--num == 0) break;