提交 e7b6228f 编写于 作者: D Dr. Stephen Henson

Typo in X509v3_get_ext_by_critical

上级 2053c43d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册