mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
bug 1250818 - remove certificate issuer organization to common name fallback r=Cykesiopka
Before this change, if a certificate's issuer DN did not have an organization component, nsIX509Cert.issuerOrganization would fall back to using the issuer common name. This was never a good idea, because this gave misleading information to consumers of this interface. Furthermore, it appears that all consumers of this interface already do such a fallback (for display purposes) when they've determined that it's a reasonable thing to do. MozReview-Commit-ID: p2gmSP0nZW --HG-- extra : rebase_source : 2248ff01e8c0e9a79b27f4406fdc2f0a4ed98360
This commit is contained in:
parent
b5d992383d
commit
3a39756220
@ -746,8 +746,6 @@ nsNSSCertificate::GetIssuerOrganization(nsAString& aOrganization)
|
||||
if (organization) {
|
||||
aOrganization = NS_ConvertUTF8toUTF16(organization);
|
||||
PORT_Free(organization);
|
||||
} else {
|
||||
return GetIssuerCommonName(aOrganization);
|
||||
}
|
||||
}
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user