diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-06-07 15:03:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 15:03:27 +0200 |
commit | 306f3865ccb240ef30c773de4955732227ce4929 (patch) | |
tree | 68f8bc59fbcd29ad1a5d2597fb61c5ba85600bfe /security/manager/ssl/nsSiteSecurityService.cpp | |
parent | 32ccd283f6af7c00a37bad163f77c481d3967ff1 (diff) | |
parent | e370a636baa5435c7c57a3aebf2fca647023b7c8 (diff) | |
download | UXP-306f3865ccb240ef30c773de4955732227ce4929.tar UXP-306f3865ccb240ef30c773de4955732227ce4929.tar.gz UXP-306f3865ccb240ef30c773de4955732227ce4929.tar.lz UXP-306f3865ccb240ef30c773de4955732227ce4929.tar.xz UXP-306f3865ccb240ef30c773de4955732227ce4929.zip |
Merge pull request #461 from trav90/HSTS
Improve HSTS preload list generation
Diffstat (limited to 'security/manager/ssl/nsSiteSecurityService.cpp')
-rw-r--r-- | security/manager/ssl/nsSiteSecurityService.cpp | 2 |
1 files changed, 1 insertions, 1 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. |