mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37: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
|
|
@ -53,7 +53,6 @@ PKCS11Thread(void *data)
|
|||
SECItem sig;
|
||||
CK_SESSION_HANDLE session;
|
||||
CK_RV crv;
|
||||
void *tmp = NULL;
|
||||
|
||||
threadData->status = SECSuccess;
|
||||
threadData->count = 0;
|
||||
|
|
@ -69,7 +68,6 @@ PKCS11Thread(void *data)
|
|||
if (threadData->isSign) {
|
||||
sig.data = sigData;
|
||||
sig.len = sizeof(sigData);
|
||||
tmp = threadData->p2;
|
||||
threadData->p2 = (void *)&sig;
|
||||
}
|
||||
|
||||
|
|
@ -81,10 +79,6 @@ PKCS11Thread(void *data)
|
|||
}
|
||||
threadData->count++;
|
||||
}
|
||||
|
||||
if (threadData->isSign) {
|
||||
threadData->p2 = tmp;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -95,7 +89,6 @@ genericThread(void *data)
|
|||
int iters = threadData->iters;
|
||||
unsigned char sigData[256];
|
||||
SECItem sig;
|
||||
void *tmp = NULL;
|
||||
|
||||
threadData->status = SECSuccess;
|
||||
threadData->count = 0;
|
||||
|
|
@ -103,7 +96,6 @@ genericThread(void *data)
|
|||
if (threadData->isSign) {
|
||||
sig.data = sigData;
|
||||
sig.len = sizeof(sigData);
|
||||
tmp = threadData->p2;
|
||||
threadData->p2 = (void *)&sig;
|
||||
}
|
||||
|
||||
|
|
@ -115,10 +107,6 @@ genericThread(void *data)
|
|||
}
|
||||
threadData->count++;
|
||||
}
|
||||
|
||||
if (threadData->isSign) {
|
||||
threadData->p2 = tmp;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue