mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Replace NSS with Pale Moon's
This commit is contained in:
parent
ff1e5e48bf
commit
8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions
|
|
@ -57,7 +57,7 @@ extern unsigned char *CBC_PadBuffer(PLArenaPool *arena, unsigned char *inbuf,
|
|||
** Power-Up selftests are required for FIPS.
|
||||
*/
|
||||
/* make sure Power-up selftests have been run. */
|
||||
extern CK_RV sftk_FIPSEntryOK(void);
|
||||
extern CK_RV sftk_FIPSEntryOK(PRBool rerun);
|
||||
|
||||
/*
|
||||
** make known fixed PKCS #11 key types to their sizes in bytes
|
||||
|
|
@ -145,7 +145,9 @@ extern PRBool sftk_fatalError;
|
|||
/*
|
||||
** macros to check for forked child process after C_Initialize
|
||||
*/
|
||||
#if defined(XP_UNIX) && !defined(NO_FORK_CHECK)
|
||||
/* for PKCS #11 3.0, default is NO_FORK_CHECK, if you want it, now you
|
||||
* need to define DO_FORK_CHECK */
|
||||
#if defined(XP_UNIX) && defined(DO_FORK_CHECK)
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
|
|
@ -260,6 +262,19 @@ extern PRBool sftkForkCheckDisabled;
|
|||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If we were trying to be complete, we would have both FORK_SAFE
|
||||
* and non-Fork safe interfaces here. That would require doubling
|
||||
* the functions in our function list for both this and the FIPS
|
||||
* interface. Since NSS now always asks for a FORK_SAFE interface,
|
||||
* and can fall back to a non-FORK_SAFE interface, we set only
|
||||
* export one set of interfaces here */
|
||||
#ifdef NO_FORK_CHECK
|
||||
#define NSS_INTERFACE_FLAGS CKF_INTERFACE_FORK_SAFE
|
||||
#else
|
||||
#define NSS_INTERFACE_FLAGS 0
|
||||
#endif
|
||||
|
||||
SEC_END_PROTOS
|
||||
|
||||
#endif /* _SOFTOKEN_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue