summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-04-10 14:08:46 +0200
committerBen Laurie <ben@openssl.org>1999-04-10 14:08:46 +0200
commit3bb307c10c565e7630110b31e6d9a0bfb387aaf1 (patch)
tree2f7b6460da04a6f12780bcdefc79fec08bcd74de /apps
parentFix a typo in the X.509v3 docs: cRLSign instead of cRLCertSign is correct (diff)
downloadopenssl-3bb307c10c565e7630110b31e6d9a0bfb387aaf1.tar.xz
openssl-3bb307c10c565e7630110b31e6d9a0bfb387aaf1.zip
Adjust renegotiation slightly.
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 2afb031b0b..c6b7938de3 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -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'))
{
+ BIO_printf(bio_err,"RENEGOTIATING\n");
SSL_renegotiate(con);
- read_tty=0;
- write_ssl=1;
+ cbuf_len=0;
}
else
{
@@ -633,8 +633,8 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240
cbuf_off=0;
}
- read_tty=0;
write_ssl=1;
+ read_tty=0;
}
#endif
}