projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2053c43
)
Typo in X509v3_get_ext_by_critical
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 4 Dec 2002 00:16:00 +0000
(
00:16
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 4 Dec 2002 00:16:00 +0000
(
00:16
+0000)
crypto/x509/x509_v3.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_v3.c
b/crypto/x509/x509_v3.c
index b5f7daa2e58910dbb22be34141842e79fe78126f..67b1796a92134d4eb0427d2be9085045cb2ef271 100644
(file)
--- 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);