Commit 3bb307c1 authored by Ben Laurie's avatar Ben Laurie
Browse files

Adjust renegotiation slightly.

parent 94c95d04
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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
		}