Bug 357593 - PSM cannot display givenName and surname in DNs, r=kaie

This commit is contained in:
Honza Bambas 2009-02-27 15:09:05 +01:00
Родитель 25c56d46c4
Коммит b85360d3e8
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -121,6 +121,8 @@ CertDumpUserID=UID
CertDumpPK9Email=E
CertDumpAVADN=DN
CertDumpAVADC=DC
CertDumpSurname=Surname
CertDumpGivenName=Given Name
CertDumpValidity=Validity
CertDumpNotBefore=Not Before
CertDumpNotAfter=Not After

6
security/manager/ssl/src/nsNSSCertHelper.cpp Normal file → Executable file
Просмотреть файл

@ -333,6 +333,12 @@ GetOIDText(SECItem *oid, nsINSSComponent *nssComponent, nsAString &text)
case SEC_OID_AVA_STATE_OR_PROVINCE:
bundlekey = "CertDumpAVAState";
break;
case SEC_OID_AVA_SURNAME:
bundlekey = "CertDumpSurname";
break;
case SEC_OID_AVA_GIVEN_NAME:
bundlekey = "CertDumpGivenName";
break;
case SEC_OID_X509_SUBJECT_DIRECTORY_ATTR:
bundlekey = "CertDumpSubjectDirectoryAttr";
break;