From fb2dae4760251f866d388408c48ee129c2811622 Mon Sep 17 00:00:00 2001 From: "cviecco@mozilla.com" Date: Fri, 28 Sep 2012 11:05:26 -0700 Subject: [PATCH] Bug 785259: Fix override bit masking [v2], r=bsmith, sr=honzab --HG-- extra : rebase_source : 22768054c4113e6904d07f5e9b5db32d969315a1 --- security/manager/ssl/src/SSLServerCertVerification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/manager/ssl/src/SSLServerCertVerification.cpp b/security/manager/ssl/src/SSLServerCertVerification.cpp index 44fda31c1581..56ac90f997a3 100644 --- a/security/manager/ssl/src/SSLServerCertVerification.cpp +++ b/security/manager/ssl/src/SSLServerCertVerification.cpp @@ -321,7 +321,7 @@ CertErrorRunnable::CheckCertOverrides() if (NS_SUCCEEDED(nsrv) && haveOverride) { // remove the errors that are already overriden - remaining_display_errors &= !overrideBits; + remaining_display_errors &= ~overrideBits; } }