diff --git a/security/nss/lib/certhigh/certhtml.c b/security/nss/lib/certhigh/certhtml.c index 60dc5d4d3ca3..927a5dbbf43d 100644 --- a/security/nss/lib/certhigh/certhtml.c +++ b/security/nss/lib/certhigh/certhtml.c @@ -34,7 +34,7 @@ /* * certhtml.c --- convert a cert to html * - * $Id: certhtml.c,v 1.2 2001/09/20 21:41:34 relyea%netscape.com Exp $ + * $Id: certhtml.c,v 1.3 2001/10/26 21:30:58 wtc%netscape.com Exp $ */ #include "seccomon.h" @@ -307,7 +307,7 @@ static char *sec_FortezzaClearance(SECItem *clearance) { return "None"; } -static char *sec_FortezzaMessagePriviledge(SECItem *priv) { +static char *sec_FortezzaMessagePrivilege(SECItem *priv) { unsigned char clr = 0; if (priv->len > 0) { clr = (priv->data[0]) & 0x78; } @@ -332,7 +332,7 @@ static char *sec_FortezzaMessagePriviledge(SECItem *priv) { } -static char *sec_FortezzaCertPriviledge(SECItem *priv) { +static char *sec_FortezzaCertPrivilege(SECItem *priv) { unsigned char clr = 0; if (priv->len > 0) { clr = priv->data[0]; } @@ -379,9 +379,9 @@ static char *htmlcertstrings[] = { 0, /* notAfter does here */ "
Clearance:", 0, - "
DSS Priviledges:", + "
DSS Privileges:", 0, - "
KEA Priviledges:", + "
KEA Privileges:", 0, "
KMID:", 0, @@ -500,12 +500,12 @@ CERT_HTMLCertInfo(CERTCertificate *cert, PRBool showImages, PRBool showIssuer) htmlcertstrings[18] = "
Clearance:"; htmlcertstrings[19] = sec_FortezzaClearance( &pubk->u.fortezza.clearance); - htmlcertstrings[20] = "
DSS Priviledges:"; - DSSPriv = sec_FortezzaCertPriviledge( + htmlcertstrings[20] = "
DSS Privileges:"; + DSSPriv = sec_FortezzaCertPrivilege( &pubk->u.fortezza.DSSpriviledge); htmlcertstrings[21] = DSSPriv; - htmlcertstrings[22] = "
KEA Priviledges:"; - htmlcertstrings[23] = sec_FortezzaMessagePriviledge( + htmlcertstrings[22] = "
KEA Privileges:"; + htmlcertstrings[23] = sec_FortezzaMessagePrivilege( &pubk->u.fortezza.KEApriviledge); htmlcertstrings[24] = "
KMID:"; dummyitem.data = &pubk->u.fortezza.KMID[0];