summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-05-31 00:12:18 +0000
committerwtc%netscape.com <devnull@localhost>2001-05-31 00:12:18 +0000
commit9782bb864e6d75baf0dfe15de1726946751c37ae (patch)
treeb44535f92c421fe371e41678683474f7a31ea710
parentd5129c38f36e51373112a934892820b5d330b4a2 (diff)
downloadnss-hg-9782bb864e6d75baf0dfe15de1726946751c37ae.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.
-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;
}