diff options
author | Shigeki Ohtsu <ohtsu@ohtsu.org> | 2019-01-24 22:45:50 +0900 |
---|---|---|
committer | Shigeki Ohtsu <ohtsu@ohtsu.org> | 2019-01-24 22:59:29 +0900 |
commit | bc180cb4887c2e82111cb714723a94de9f6d2c35 (patch) | |
tree | 7e1ae17ff9973647aa0a8f354e87e0d4413a10db | |
parent | 5cae2d349b561a84dbfc93d6b6abc5fb7263fb7c (diff) |
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
-rw-r--r-- | apps/s_client.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index d788b89dee..15dbc73c3b 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -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, |