diff options
author | nelsonb%netscape.com <devnull@localhost> | 2003-10-14 17:44:33 +0000 |
---|---|---|
committer | nelsonb%netscape.com <devnull@localhost> | 2003-10-14 17:44:33 +0000 |
commit | dd7b5ba84a3359fa59b5cd772f21bcd8e20067a8 (patch) | |
tree | a4e1e08d865dba2287ac01eb9e088acc73105725 /security/nss | |
parent | f031c6a8869b2f4807fb18e901a46b05bf839b1b (diff) | |
download | nss-hg-dd7b5ba84a3359fa59b5cd772f21bcd8e20067a8.tar.gz |
Eliminate redundant function declarations. Bug 208854. r=wchang0222
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/lib/certdb/cert.h | 3 | ||||
-rw-r--r-- | security/nss/lib/certdb/genname.h | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/security/nss/lib/certdb/cert.h b/security/nss/lib/certdb/cert.h index a31b8e5ff..2d6214ff4 100644 --- a/security/nss/lib/certdb/cert.h +++ b/security/nss/lib/certdb/cert.h @@ -718,7 +718,6 @@ CERT_DecodeDERCertificate(SECItem *derSignedCert, PRBool copyDER, ** extract various element strings from a distinguished name. ** "name" the distinguished name */ -extern char *CERT_GetCommonName(CERTName *name); extern char *CERT_GetCertificateEmailAddress(CERTCertificate *cert); @@ -1167,8 +1166,6 @@ CERT_CheckForEvilCert(CERTCertificate *cert); CERTGeneralName * CERT_GetCertificateNames(CERTCertificate *cert, PRArenaPool *arena); -int -CERT_GetNamesLength(CERTGeneralName *names); SECStatus CERT_EncodeSubjectKeyID(PRArenaPool *arena, char *value, int len, SECItem *encodedValue); diff --git a/security/nss/lib/certdb/genname.h b/security/nss/lib/certdb/genname.h index 3d92f78d1..504f0cd06 100644 --- a/security/nss/lib/certdb/genname.h +++ b/security/nss/lib/certdb/genname.h @@ -129,8 +129,10 @@ CERT_AddGeneralNameToList(CERTGeneralNameList *list, CERTGeneralNameList * CERT_DupGeneralNameList(CERTGeneralNameList *list); -/* returns the length of a CERTGeneralName */ -int +/* returns the number of CERTGeneralName objects in the doubly linked +** list of which *names is a member. +*/ +extern int CERT_GetNamesLength(CERTGeneralName *names); /************************************************************************/ |