From e7b6228fd30ff1327d35fa5d8658d4f33d5298dd Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 4 Dec 2002 00:16:00 +0000 Subject: [PATCH] Typo in X509v3_get_ext_by_critical --- crypto/x509/x509_v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/x509/x509_v3.c b/crypto/x509/x509_v3.c index b5f7daa2e5..67b1796a92 100644 --- a/crypto/x509/x509_v3.c +++ b/crypto/x509/x509_v3.c @@ -116,7 +116,7 @@ int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit, { ex=sk_X509_EXTENSION_value(sk,lastpos); if ( ((ex->critical > 0) && crit) || - (!(ex->critical <= 0) && !crit)) + ((ex->critical <= 0) && !crit)) return(lastpos); } return(-1); -- 2.25.1