summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_asm.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-26 19:59:36 +0000
committerBodo Möller <bodo@openssl.org>1999-05-26 19:59:36 +0000
commitb14d0e05907b8dd5b107f4ca18ab2830d5c52cff (patch)
tree9deb34e8d9f59081bd26c96be0224c7971d832e7 /crypto/bn/bn_asm.c
parentf3c751067a696e0774a56800caa5a8793f0a608d (diff)
Circument egcs bug.
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
Diffstat (limited to 'crypto/bn/bn_asm.c')
-rw-r--r--crypto/bn/bn_asm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bn/bn_asm.c b/crypto/bn/bn_asm.c
index 05ede3b250..7f4c3ff3b2 100644
--- a/crypto/bn/bn_asm.c
+++ b/crypto/bn/bn_asm.c
@@ -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;