mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
re-introduce old nss im too tired for this
This commit is contained in:
parent
3c46be320d
commit
3a838106b9
2871 changed files with 1374431 additions and 1762417 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(PRBool rerun);
|
||||
extern CK_RV sftk_FIPSEntryOK(void);
|
||||
|
||||
/*
|
||||
** make known fixed PKCS #11 key types to their sizes in bytes
|
||||
|
|
@ -145,9 +145,7 @@ extern PRBool sftk_fatalError;
|
|||
/*
|
||||
** macros to check for forked child process after C_Initialize
|
||||
*/
|
||||
/* 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)
|
||||
#if defined(XP_UNIX) && !defined(NO_FORK_CHECK)
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
|
|
@ -262,19 +260,6 @@ 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