提交 0e7abc90 编写于 作者: V Viktor Dukhovni

Drop incorrect id == -1 case from X509_check_trust

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 d9b8b89b
......@@ -116,8 +116,7 @@ int X509_check_trust(X509 *x, int id, int flags)
{
X509_TRUST *pt;
int idx;
if (id == -1)
return 1;
/* We get this as a default value */
if (id == 0) {
int rv;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册