diff options
Diffstat (limited to 'security/manager/ssl')
-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 0fd19dd5b..fc38f4e64 100644 --- a/security/manager/ssl/nsSiteSecurityService.cpp +++ b/security/manager/ssl/nsSiteSecurityService.cpp @@ -998,7 +998,7 @@ nsSiteSecurityService::IsSecureHost(uint32_t aType, const char* aHost, } // Exit early if checking HSTS and STS not enabled - if (!mUseStsService && aType != nsISiteSecurityService::HEADER_HSTS) { + if (!mUseStsService && aType == nsISiteSecurityService::HEADER_HSTS) { return NS_OK; } |