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

no need to check s->server as default_nid is never used for TLS 1.2 client authentication

上级 3dbc46df
......@@ -3482,7 +3482,7 @@ int tls1_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain,
* have set preferred signature algorithms check we support
* sha1.
*/
if (s->server && default_nid > 0 && c->conf_sigalgs)
if (default_nid > 0 && c->conf_sigalgs)
{
size_t j;
const unsigned char *p = c->conf_sigalgs;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册