mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
s_client: fix not to send a command letter of R
Before 1.1.0, this command letter is not sent to a server. CLA: trivial
This commit is contained in:
parent
5cae2d349b
commit
bc180cb488
@ -3081,9 +3081,7 @@ int s_client_main(int argc, char **argv)
|
||||
BIO_printf(bio_err, "RENEGOTIATING\n");
|
||||
SSL_renegotiate(con);
|
||||
cbuf_len = 0;
|
||||
}
|
||||
|
||||
if (!c_ign_eof && (cbuf[0] == 'K' || cbuf[0] == 'k' )
|
||||
} else if (!c_ign_eof && (cbuf[0] == 'K' || cbuf[0] == 'k' )
|
||||
&& cmdletters) {
|
||||
BIO_printf(bio_err, "KEYUPDATE\n");
|
||||
SSL_key_update(con,
|
||||
|
Loading…
Reference in New Issue
Block a user