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

A comment.

上级 8aa5b77c
......@@ -657,6 +657,12 @@ int SSL_write(SSL *s,const char *buf,int num)
int SSL_shutdown(SSL *s)
{
/* Note that this function behaves different from what one might
* expect. Return values are 0 for no success (yet),
* 1 for success; but calling it once is usually not enough,
* even if blocking I/O is used (see ssl3_shutdown).
*/
if (s->handshake_func == 0)
{
SSLerr(SSL_F_SSL_SHUTDOWN, SSL_R_UNINITIALIZED);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册