summaryrefslogtreecommitdiffstats
path: root/security/certverifier/NSSCertDBTrustDomain.h
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2020-09-12 04:08:43 -0400
committerMoonchild <moonchild@palemoon.org>2020-09-21 10:59:09 +0000
commit10866dd35c4265049efff86b8cab89239804903c (patch)
treef84aaf49b93eba6c1ae127a802d7afb5656ff5b7 /security/certverifier/NSSCertDBTrustDomain.h
parentf43c37cabe419a38b64c68225a4256d795443aae (diff)
downloadUXP-10866dd35c4265049efff86b8cab89239804903c.tar
UXP-10866dd35c4265049efff86b8cab89239804903c.tar.gz
UXP-10866dd35c4265049efff86b8cab89239804903c.tar.lz
UXP-10866dd35c4265049efff86b8cab89239804903c.tar.xz
UXP-10866dd35c4265049efff86b8cab89239804903c.zip
Issue #1280 - Remove hostname parameter to trust domain.
Host name was purely being used for HPKP and since HPKP is killed, this can also go. Currently it doesn't do anything other than generating build warnings.
Diffstat (limited to 'security/certverifier/NSSCertDBTrustDomain.h')
-rw-r--r--security/certverifier/NSSCertDBTrustDomain.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/security/certverifier/NSSCertDBTrustDomain.h b/security/certverifier/NSSCertDBTrustDomain.h
index becf29eee..50e2c8adc 100644
--- a/security/certverifier/NSSCertDBTrustDomain.h
+++ b/security/certverifier/NSSCertDBTrustDomain.h
@@ -83,8 +83,7 @@ public:
CertVerifier::SHA1Mode sha1Mode,
NetscapeStepUpPolicy netscapeStepUpPolicy,
const NeckoOriginAttributes& originAttributes,
- UniqueCERTCertList& builtChain,
- /*optional*/ const char* hostname = nullptr);
+ UniqueCERTCertList& builtChain);
virtual Result FindIssuer(mozilla::pkix::Input encodedIssuerName,
IssuerChecker& checker,
@@ -187,7 +186,6 @@ private:
NetscapeStepUpPolicy mNetscapeStepUpPolicy;
const NeckoOriginAttributes& mOriginAttributes;
UniqueCERTCertList& mBuiltChain; // non-owning
- const char* mHostname; // non-owning - only used for pinning checks
nsCOMPtr<nsICertBlocklist> mCertBlocklist;
CertVerifier::OCSPStaplingStatus mOCSPStaplingStatus;
// Certificate Transparency data extracted during certificate verification