mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
Issue #1338 - Part 2: Update NSS to 3.48-RTM
This commit is contained in:
parent
1a92143e68
commit
c57cac24e8
885 changed files with 1650639 additions and 59530 deletions
|
|
@ -288,7 +288,14 @@ void freebl_cpuid(unsigned long op, unsigned long *eax,
|
|||
#define DIGITS(MP) MP_DIGITS(MP)
|
||||
#define DIGIT(MP, N) MP_DIGIT(MP, N)
|
||||
|
||||
/* Functions which return an mp_err value will NULL-check their arguments via
|
||||
* ARGCHK(condition, return), where the caller is responsible for checking the
|
||||
* mp_err return code. For functions that return an integer type, the caller
|
||||
* has no way to tell if the value is an error code or a legitimate value.
|
||||
* Therefore, ARGMPCHK(condition) will trigger an assertion failure on debug
|
||||
* builds, but no-op in optimized builds. */
|
||||
#if MP_ARGCHK == 1
|
||||
#define ARGMPCHK(X) /* */
|
||||
#define ARGCHK(X, Y) \
|
||||
{ \
|
||||
if (!(X)) { \
|
||||
|
|
@ -297,9 +304,11 @@ void freebl_cpuid(unsigned long op, unsigned long *eax,
|
|||
}
|
||||
#elif MP_ARGCHK == 2
|
||||
#include <assert.h>
|
||||
#define ARGMPCHK(X) assert(X)
|
||||
#define ARGCHK(X, Y) assert(X)
|
||||
#else
|
||||
#define ARGCHK(X, Y) /* */
|
||||
#define ARGMPCHK(X) /* */
|
||||
#define ARGCHK(X, Y) /* */
|
||||
#endif
|
||||
|
||||
#ifdef CT_VERIF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue