summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorian.mcgreer%sun.com <devnull@localhost>2002-05-09 22:42:23 +0000
committerian.mcgreer%sun.com <devnull@localhost>2002-05-09 22:42:23 +0000
commit1b3572a37dd0a0ba96618c0cd7afc4753e917aba (patch)
tree7645893428d06c9390ed53fb3e04137d18447e02
parent719e5570c989629c349256937db5c60bbe1d153e (diff)
downloadnss-hg-1b3572a37dd0a0ba96618c0cd7afc4753e917aba.tar.gz
bug 135808, STAN_GetDefaultCryptoToken appears to leak a slot reference, but there are no callers of it. Removing function.
r=wtc
-rw-r--r--security/nss/lib/pki/pki3hack.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/security/nss/lib/pki/pki3hack.c b/security/nss/lib/pki/pki3hack.c
index cb06b3a98..779bed836 100644
--- a/security/nss/lib/pki/pki3hack.c
+++ b/security/nss/lib/pki/pki3hack.c
@@ -87,16 +87,6 @@ STAN_GetDefaultCryptoContext()
return g_default_crypto_context;
}
-NSS_IMPLEMENT NSSToken *
-STAN_GetDefaultCryptoToken
-(
- void
-)
-{
- PK11SlotInfo *pk11slot = PK11_GetInternalSlot();
- return PK11Slot_GetNSSToken(pk11slot);
-}
-
NSS_IMPLEMENT PRStatus
STAN_LoadDefaultNSS3TrustDomain
(