mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 00:17:32 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
eeb44de4a1
21 changed files with 80 additions and 26 deletions
|
|
@ -3511,10 +3511,12 @@ NSC_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo)
|
|||
PORT_Memcpy(pInfo->model, "NSS 3 ", 16);
|
||||
PORT_Memcpy(pInfo->serialNumber, "0000000000000000", 16);
|
||||
PORT_Memcpy(pInfo->utcTime, "0000000000000000", 16);
|
||||
pInfo->ulMaxSessionCount = 0; /* arbitrarily large */
|
||||
pInfo->ulMaxSessionCount = 0; /* arbitrarily large */
|
||||
pInfo->ulMaxRwSessionCount = 0; /* arbitrarily large */
|
||||
PZ_Lock(slot->slotLock); /* Protect sessionCount / rwSessioncount */
|
||||
pInfo->ulSessionCount = slot->sessionCount;
|
||||
pInfo->ulMaxRwSessionCount = 0; /* arbitarily large */
|
||||
pInfo->ulRwSessionCount = slot->rwSessionCount;
|
||||
PZ_Unlock(slot->slotLock); /* Unlock before sftk_getKeyDB */
|
||||
pInfo->firmwareVersion.major = 0;
|
||||
pInfo->firmwareVersion.minor = 0;
|
||||
PORT_Memcpy(pInfo->label, slot->tokDescription, sizeof(pInfo->label));
|
||||
|
|
|
|||
|
|
@ -17,10 +17,10 @@
|
|||
* The format of the version string should be
|
||||
* "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
|
||||
*/
|
||||
#define SOFTOKEN_VERSION "3.48.3" SOFTOKEN_ECC_STRING
|
||||
#define SOFTOKEN_VERSION "3.48.4" SOFTOKEN_ECC_STRING
|
||||
#define SOFTOKEN_VMAJOR 3
|
||||
#define SOFTOKEN_VMINOR 48
|
||||
#define SOFTOKEN_VPATCH 3
|
||||
#define SOFTOKEN_VPATCH 4
|
||||
#define SOFTOKEN_VBUILD 0
|
||||
#define SOFTOKEN_BETA PR_FALSE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue