summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2003-11-19 00:14:04 +0000
committerwchang0222%aol.com <devnull@localhost>2003-11-19 00:14:04 +0000
commite2a6a1657bce59448c64d0ea3a7616fa42261282 (patch)
tree2f0319ff455abc3da6b051de20cd49ce8532757d
parent91b45bee604a5bab17ac4db0e6bb23c8113d9e34 (diff)
downloadnss-hg-e2a6a1657bce59448c64d0ea3a7616fa42261282.tar.gz
Removed the declaration and a comment about PK11_FreeSlotCerts, which was
deleted in NSS 3.4. Modified Files: pk11func.h pk11slot.c
-rw-r--r--security/nss/lib/pk11wrap/pk11func.h1
-rw-r--r--security/nss/lib/pk11wrap/pk11slot.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/security/nss/lib/pk11wrap/pk11func.h b/security/nss/lib/pk11wrap/pk11func.h
index 06c5fe13d..179f11960 100644
--- a/security/nss/lib/pk11wrap/pk11func.h
+++ b/security/nss/lib/pk11wrap/pk11func.h
@@ -617,7 +617,6 @@ PK11_SaveContextAlloc(PK11Context *cx,
SECStatus PK11_RestoreContext(PK11Context *cx,unsigned char *save,int len);
SECStatus PK11_GenerateFortezzaIV(PK11SymKey *symKey,unsigned char *iv,int len);
SECStatus PK11_ReadSlotCerts(PK11SlotInfo *slot);
-void PK11_FreeSlotCerts(PK11SlotInfo *slot);
void PK11_SetFortezzaHack(PK11SymKey *symKey) ;
diff --git a/security/nss/lib/pk11wrap/pk11slot.c b/security/nss/lib/pk11wrap/pk11slot.c
index 74dfe89ad..7533f61c6 100644
--- a/security/nss/lib/pk11wrap/pk11slot.c
+++ b/security/nss/lib/pk11wrap/pk11slot.c
@@ -2119,7 +2119,6 @@ pk11_IsPresentCertLoad(PK11SlotInfo *slot, PRBool loadCerts)
if (slot->session != CK_INVALID_SESSION) {
PK11_GETTAB(slot)->C_CloseSession(slot->session);
slot->session = CK_INVALID_SESSION;
- /* force certs to be freed */
}
if (!slot->isThreadSafe) PK11_ExitSlotMonitor(slot);
return PR_FALSE;