summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien.pierre.boogz%sun.com <devnull@localhost>2008-08-04 22:44:17 +0000
committerjulien.pierre.boogz%sun.com <devnull@localhost>2008-08-04 22:44:17 +0000
commitad1d867208d68089f305c0b74270a194dd2316ca (patch)
tree07db03fde0be4a8484803121282a726cfeefbbb6
parent42ad18ef5ff2d1857caa7730febb30e10fd2f90d (diff)
downloadnss-hg-ad1d867208d68089f305c0b74270a194dd2316ca.tar.gz
Fix for bug 129303 . Add missing declaration for PK11_GetAllSlotsForCert. r=nelson
-rw-r--r--security/nss/lib/pk11wrap/pk11pub.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/security/nss/lib/pk11wrap/pk11pub.h b/security/nss/lib/pk11wrap/pk11pub.h
index 679f43549..e351de9e5 100644
--- a/security/nss/lib/pk11wrap/pk11pub.h
+++ b/security/nss/lib/pk11wrap/pk11pub.h
@@ -785,6 +785,13 @@ SECStatus PK11_ReadRawAttribute(PK11ObjectType type, void *object,
SECStatus PK11_WriteRawAttribute(PK11ObjectType type, void *object,
CK_ATTRIBUTE_TYPE attr, SECItem *item);
+/*
+ * PK11_GetAllSlotsForCert returns all the slots that a given certificate
+ * exists on, since it's possible for a cert to exist on more than one
+ * PKCS#11 token.
+ */
+PK11SlotList *
+PK11_GetAllSlotsForCert(CERTCertificate *cert, void *arg);
/**********************************************************************
* New functions which are already deprecated....