summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-12-24 02:25:36 +0000
committerwtc%netscape.com <devnull@localhost>2002-12-24 02:25:36 +0000
commit14c5e63152e229db53862769fd3afc10b25ccffc (patch)
tree1c9a5b29c7056185dbf245d177c2297911481c80
parente091734da87868b96b525233a1b6cacbc38eee0f (diff)
downloadnss-hg-14c5e63152e229db53862769fd3afc10b25ccffc.tar.gz
Bug 183612: added some comments.
-rw-r--r--security/nss/lib/certdb/cert.h4
-rw-r--r--security/nss/lib/smime/cmst.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/security/nss/lib/certdb/cert.h b/security/nss/lib/certdb/cert.h
index 61cb9f7a9..98c184d8a 100644
--- a/security/nss/lib/certdb/cert.h
+++ b/security/nss/lib/certdb/cert.h
@@ -478,6 +478,10 @@ CERT_FindCertByKeyID (CERTCertDBHandle *handle, SECItem *name, SECItem *keyID);
extern CERTCertificate *
CERT_FindCertByIssuerAndSN (CERTCertDBHandle *handle, CERTIssuerAndSN *issuerAndSN);
+/*
+** Find a certificate in the database by a subject key ID
+** "subjKeyID" is the subject Key ID to look for
+*/
extern CERTCertificate *
CERT_FindCertBySubjectKeyID (CERTCertDBHandle *handle, SECItem *subjKeyID);
diff --git a/security/nss/lib/smime/cmst.h b/security/nss/lib/smime/cmst.h
index 2fa63a3b8..3e5dd0564 100644
--- a/security/nss/lib/smime/cmst.h
+++ b/security/nss/lib/smime/cmst.h
@@ -309,7 +309,7 @@ typedef struct NSSCMSKeyTransRecipientInfoStr NSSCMSKeyTransRecipientInfo;
*/
struct NSSCMSKeyTransRecipientInfoExStr {
NSSCMSKeyTransRecipientInfo recipientInfo;
- int version;
+ int version; /* version of this structure (0) */
SECKEYPublicKey *pubKey;
};