summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_v3.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-12-04 00:16:00 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-12-04 00:16:00 +0000
commite7b6228fd30ff1327d35fa5d8658d4f33d5298dd (patch)
tree2bdf0882153232de9b0a3c016b7e3b80ac73d3f9 /crypto/x509/x509_v3.c
parent2053c43de2575a0f72038b8a36146ef23c829885 (diff)
Typo in X509v3_get_ext_by_critical
Diffstat (limited to 'crypto/x509/x509_v3.c')
-rw-r--r--crypto/x509/x509_v3.c2
1 files changed, 1 insertions, 1 deletions
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);