diff options
author | wtc%netscape.com <devnull@localhost> | 2001-05-30 18:17:01 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-05-30 18:17:01 +0000 |
commit | 12cbbf8ee32889dea4c8d5b22ba66d401dd1a0fc (patch) | |
tree | f39b0b1df09c6538cee99ce29fd0c2391cf7c717 | |
parent | 461e87064955e59aaabd976c66e7dd44bbcc5ac4 (diff) | |
download | nss-hg-12cbbf8ee32889dea4c8d5b22ba66d401dd1a0fc.tar.gz |
Bugzilla bug #82837: work around a Forte6 compiler optimization bug on
Solaris x86.
(NSS_3_2_BRANCH)
-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; } |