提交 3bb307c1 编写于 作者: B Ben Laurie

Adjust renegotiation slightly.

上级 94c95d04
...@@ -623,9 +623,9 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240 ...@@ -623,9 +623,9 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240
if ((!c_quiet) && (cbuf[0] == 'R')) if ((!c_quiet) && (cbuf[0] == 'R'))
{ {
BIO_printf(bio_err,"RENEGOTIATING\n");
SSL_renegotiate(con); SSL_renegotiate(con);
read_tty=0; cbuf_len=0;
write_ssl=1;
} }
else else
{ {
...@@ -633,8 +633,8 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240 ...@@ -633,8 +633,8 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240
cbuf_off=0; cbuf_off=0;
} }
read_tty=0;
write_ssl=1; write_ssl=1;
read_tty=0;
} }
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册