提交 63810d85 编写于 作者: R Richard Levitte

Apply a small patch from Diego R. Lopez <diego.lopez@rediris.es>,

making X509_check_issued() properly match an issuer that's found in a
Authority Key Identifier.
上级 123c4019
......@@ -615,7 +615,7 @@ int X509_check_issued(X509 *issuer, X509 *subject)
break;
}
}
if(nm && X509_NAME_cmp(nm, X509_get_issuer_name(issuer)))
if(nm && X509_NAME_cmp(nm, X509_get_subject_name(issuer)))
return X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册