diff options
author | trav90 <travawine@palemoon.org> | 2018-06-05 22:46:15 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-06-06 08:30:34 -0500 |
commit | cef7fcb377e79e52e6baa34d387400671e9a5fb0 (patch) | |
tree | 80c79c06ef72259a1e870fc6b29fa34ec2baf543 /security/manager/ssl | |
parent | 3b7938d7a10f90e5ad1b001d710b8772ee2ebbf1 (diff) | |
download | UXP-cef7fcb377e79e52e6baa34d387400671e9a5fb0.tar UXP-cef7fcb377e79e52e6baa34d387400671e9a5fb0.tar.gz UXP-cef7fcb377e79e52e6baa34d387400671e9a5fb0.tar.lz UXP-cef7fcb377e79e52e6baa34d387400671e9a5fb0.tar.xz UXP-cef7fcb377e79e52e6baa34d387400671e9a5fb0.zip |
Restore clearly-delimited format for the HSTS preload list
Diffstat (limited to 'security/manager/ssl')
-rw-r--r-- | security/manager/ssl/nsSiteSecurityService.cpp | 2 | ||||
-rw-r--r-- | security/manager/ssl/nsSiteSecurityService.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/security/manager/ssl/nsSiteSecurityService.cpp b/security/manager/ssl/nsSiteSecurityService.cpp index d461f6b61..1d79844ff 100644 --- a/security/manager/ssl/nsSiteSecurityService.cpp +++ b/security/manager/ssl/nsSiteSecurityService.cpp @@ -935,7 +935,7 @@ int STSPreloadCompare(const void *key, const void *entry) { const char *keyStr = (const char *)key; const nsSTSPreload *preloadEntry = (const nsSTSPreload *)entry; - return strcmp(keyStr, &kSTSHostTable[preloadEntry->mHostIndex]); + return strcmp(keyStr, preloadEntry->mHost); } // Returns the preload list entry for the given host, if it exists. diff --git a/security/manager/ssl/nsSiteSecurityService.h b/security/manager/ssl/nsSiteSecurityService.h index f100a8f40..c40180550 100644 --- a/security/manager/ssl/nsSiteSecurityService.h +++ b/security/manager/ssl/nsSiteSecurityService.h @@ -110,7 +110,7 @@ public: void ToString(nsCString &aString); }; -struct nsSTSPreload; +class nsSTSPreload; class nsSiteSecurityService : public nsISiteSecurityService , public nsIObserver |