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

Update from 1.0.0-stable.

上级 508c5352
......@@ -518,9 +518,7 @@ int ssl_verify_cert_chain(SSL *s,STACK_OF(X509) *sk)
/* Anything non-default in "param" should overwrite anything in the
* ctx.
*/
if (s->param)
X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(&ctx),
s->param);
X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(&ctx), s->param);
if (s->verify_callback)
X509_STORE_CTX_set_verify_cb(&ctx, s->verify_callback);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册