提交 11b1adad 编写于 作者: B Bodo Möller

typo

上级 1afd8b39
......@@ -392,7 +392,7 @@ int ssl2_write(SSL *s, const void *_buf, int len)
return(i);
}
if ((i == (int)n) ||
(s->mode | SSL_MODE_ENABLE_PARTIAL_WRITE))
(s->mode & SSL_MODE_ENABLE_PARTIAL_WRITE))
{
return(tot+i);
}
......
......@@ -470,7 +470,7 @@ int ssl3_write_bytes(SSL *s, int type, const void *_buf, int len)
if ((i == (int)n) ||
(type == SSL3_RT_APPLICATION_DATA &&
(s->mode | SSL_MODE_ENABLE_PARTIAL_WRITE)))
(s->mode & SSL_MODE_ENABLE_PARTIAL_WRITE)))
{
return(tot+i);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册