Commit 5478e210 authored by Shigeki Ohtsu's avatar Shigeki Ohtsu Committed by Matt Caswell
Browse files

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
(cherry picked from commit bc180cb4887c2e82111cb714723a94de9f6d2c35)

Reviewed-by: default avatarBen Kaduk <kaduk@mit.edu>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8081)
parent d7bcbfd0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3083,9 +3083,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,