diff options
author | nelsonb%netscape.com <devnull@localhost> | 2000-08-01 01:36:30 +0000 |
---|---|---|
committer | nelsonb%netscape.com <devnull@localhost> | 2000-08-01 01:36:30 +0000 |
commit | 8b8841480bfab82fcf7fd0df66b4f541c3cec3e9 (patch) | |
tree | 71b2707c5f8091793d08922c9091d624d9ac7985 /security/nss/lib/freebl/mpi/mpi-config.h | |
parent | 7f8514a94d978f4d48fdc4866d588be0938547ab (diff) | |
download | nss-hg-8b8841480bfab82fcf7fd0df66b4f541c3cec3e9.tar.gz |
Change default value for MP_ARGCHK to depend on whether or not DEBUG is
defined. Raise the default "precision" to reduce reallocations.
Diffstat (limited to 'security/nss/lib/freebl/mpi/mpi-config.h')
-rw-r--r-- | security/nss/lib/freebl/mpi/mpi-config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/mpi/mpi-config.h b/security/nss/lib/freebl/mpi/mpi-config.h index 48561b88a..13ae618a4 100644 --- a/security/nss/lib/freebl/mpi/mpi-config.h +++ b/security/nss/lib/freebl/mpi/mpi-config.h @@ -81,7 +81,11 @@ 1 = runtime checks, continue execution and return an error to caller 2 = assertions; dump core on parameter errors */ +#ifdef DEBUG #define MP_ARGCHK 2 /* how to check input arguments */ +#else +#define MP_ARGCHK 1 /* how to check input arguments */ +#endif #endif #ifndef MP_DEBUG @@ -89,7 +93,7 @@ #endif #ifndef MP_DEFPREC -#define MP_DEFPREC 32 /* default precision, in digits */ +#define MP_DEFPREC 64 /* default precision, in digits */ #endif #ifndef MP_MACRO |