re-introduce old nss im too tired for this

This commit is contained in:
wuggy 2026-06-30 06:37:32 +01:00
commit 3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions

View file

@ -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;
}