summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-05-31 00:14:22 +0000
committerwtc%netscape.com <devnull@localhost>2001-05-31 00:14:22 +0000
commit6950628b93f06622591ed66c7a8cc3e460efb64b (patch)
treed69849e9467a6679be40629465ee434e9d58f2f4
parent12cbbf8ee32889dea4c8d5b22ba66d401dd1a0fc (diff)
downloadnss-hg-6950628b93f06622591ed66c7a8cc3e460efb64b.tar.gz
Bugzilla bug #82837: backed out the workaround as we are not affected by
this compiler bug with Nelson's fix in bug #73115. (NSS_3_2_BRANCH)
-rw-r--r--security/nss/lib/freebl/mpi/mpi.c2
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 ea00559ca..dab04b6d2 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) == 0) {
+ while (!(b_msd & mask)) {
b_msd <<= 1;
++d;
}