From 8e7f3bc41b14e21cb5667bfd30b9950595113431 Mon Sep 17 00:00:00 2001 From: "jpierre%netscape.com" Date: Fri, 12 Jul 2002 02:37:49 +0000 Subject: [PATCH] Make CERT_VerifyCertificate actually work . Oops. --- security/nss/lib/certhigh/certvfy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/nss/lib/certhigh/certvfy.c b/security/nss/lib/certhigh/certvfy.c index 79b7eb15a92..2b180d56b3a 100644 --- a/security/nss/lib/certhigh/certvfy.c +++ b/security/nss/lib/certhigh/certvfy.c @@ -1003,7 +1003,7 @@ done: #define INVALID_USAGE() { \ if (returnedUsages) { \ - *returnedUsages &= !i; \ + *returnedUsages &= (~i); \ } \ if (PR_TRUE == requiredUsage) { \ valid = SECFailure; \