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

typo

上级 0208ab2e
...@@ -1002,7 +1002,7 @@ int ssl_add_cert_chain(SSL *s, CERT_PKEY *cpk, unsigned long *l) ...@@ -1002,7 +1002,7 @@ int ssl_add_cert_chain(SSL *s, CERT_PKEY *cpk, unsigned long *l)
{ {
x = sk_X509_value(xs_ctx.chain, i); x = sk_X509_value(xs_ctx.chain, i);
if (ssl_add_cert_to_buf(buf, l, x)) if (!ssl_add_cert_to_buf(buf, l, x))
{ {
X509_STORE_CTX_cleanup(&xs_ctx); X509_STORE_CTX_cleanup(&xs_ctx);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册