diff options
author | wtc%netscape.com <devnull@localhost> | 2001-06-18 19:54:21 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-06-18 19:54:21 +0000 |
commit | ca1f88e81d28db12058529974a3261d73b18a3ec (patch) | |
tree | e216a0d6187324b6facc5f12a319ab174967e927 | |
parent | 799f691f35c69d13aeab80c2a2ad7f8d9c6dbe8b (diff) | |
download | nss-hg-ca1f88e81d28db12058529974a3261d73b18a3ec.tar.gz |
Bugzilla bug #86125: removed the support for MP_DIGIT_MAX < 256. This
#if preprocessor directive broke some C preprocessors that don't recognize
LL constants even though the C compilers support long long. r=nelsonb.
-rw-r--r-- | security/nss/lib/freebl/mpi/mpi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/security/nss/lib/freebl/mpi/mpi.c b/security/nss/lib/freebl/mpi/mpi.c index dab04b6d2..62496de34 100644 --- a/security/nss/lib/freebl/mpi/mpi.c +++ b/security/nss/lib/freebl/mpi/mpi.c @@ -2453,13 +2453,8 @@ mp_err mp_read_raw(mp_int *mp, char *str, int len) /* Read the rest of the digits */ for(ix = 1; ix < len; ix++) { -#if DIGIT_MAX < 256 - if((res = s_mp_lshd(mp, 1)) != MP_OKAY) - return res; -#else if((res = mp_mul_d(mp, 256, mp)) != MP_OKAY) return res; -#endif if((res = mp_add_d(mp, ustr[ix], mp)) != MP_OKAY) return res; } |