diff options
author | wtc%netscape.com <devnull@localhost> | 2001-05-30 18:15:30 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-05-30 18:15:30 +0000 |
commit | f59c1b0d5fb9088e3ba0011d5bba7bf045781fca (patch) | |
tree | 6e5d60c381c42471e5fda73c3d740043c390f7a1 /security/nss/lib/freebl | |
parent | 9d10eaa23de2253b41a255ce767eb27f8651be2b (diff) | |
download | nss-hg-f59c1b0d5fb9088e3ba0011d5bba7bf045781fca.tar.gz |
Bugzilla bug #82837: work around a Forte6 compiler optimization bug on
Solaris x86.
Diffstat (limited to 'security/nss/lib/freebl')
-rw-r--r-- | security/nss/lib/freebl/mpi/mpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/mpi/mpi.c b/security/nss/lib/freebl/mpi/mpi.c index dab04b6d2..ea00559ca 100644 --- a/security/nss/lib/freebl/mpi/mpi.c +++ b/security/nss/lib/freebl/mpi/mpi.c @@ -3144,7 +3144,7 @@ mp_err s_mp_norm(mp_int *a, mp_int *b, mp_digit *pd) d = 0; mask = DIGIT_MAX & ~(DIGIT_MAX >> 1); /* mask is msb of digit */ b_msd = DIGIT(b, USED(b) - 1); - while (!(b_msd & mask)) { + while ((b_msd & mask) == 0) { b_msd <<= 1; ++d; } |