зеркало из https://github.com/mozilla/gecko-dev.git
Fix spelling error.
Clear out certs from the cache before the token goes away.
This commit is contained in:
Родитель
c936511eb9
Коммит
3b707d47e7
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: dev3hack.c,v $ $Revision: 1.15 $ $Date: 2002/04/25 00:25:58 $ $Name: $";
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: dev3hack.c,v $ $Revision: 1.16 $ $Date: 2002/05/21 21:24:35 $ $Name: $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
#ifndef NSS_3_4_CODE
|
||||
|
@ -284,7 +284,7 @@ nssTrustDomain_RemoveTokenCertsFromCache
|
|||
);
|
||||
|
||||
NSS_IMPLEMENT PRStatus
|
||||
nssToken_NofifyCertsNotVisible
|
||||
nssToken_NotifyCertsNotVisible
|
||||
(
|
||||
NSSToken *tok
|
||||
)
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "pk11func.h"
|
||||
#include "pki3hack.h"
|
||||
#include "secerr.h"
|
||||
#include "dev.h"
|
||||
|
||||
/* these are for displaying error messages */
|
||||
|
||||
|
@ -639,7 +640,10 @@ SECMOD_DestroyModule(SECMODModule *module) {
|
|||
* module to disappear altogether */
|
||||
for (i=0 ; i < slotCount; i++) {
|
||||
if (!module->slots[i]->disabled) {
|
||||
PK11_ClearSlotList(module->slots[i]);
|
||||
PK11_ClearSlotList(module->slots[i]);
|
||||
if (module->slots[i]->nssToken) {
|
||||
nssToken_NotifyCertsNotVisible(module->slots[i]->nssToken);
|
||||
}
|
||||
}
|
||||
PK11_FreeSlot(module->slots[i]);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче