Mercurial > dropbear
changeset 1479:38c6bcbf4f4a
missed saving a file removing none cipher
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 09 Feb 2018 23:58:13 +0800 |
parents | 533e070b3126 |
children | 546d7dabdf99 515f37a55cd2 |
files | cli-session.c |
diffstat | 1 files changed, 0 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/cli-session.c Fri Feb 09 23:40:23 2018 +0800 +++ b/cli-session.c Fri Feb 09 23:58:13 2018 +0800 @@ -165,13 +165,6 @@ cli_ses.lastprivkey = NULL; cli_ses.lastauthtype = 0; -#if DROPBEAR_NONE_CIPHER - cli_ses.cipher_none_after_auth = get_algo_usable(sshciphers, "none"); - set_algo_usable(sshciphers, "none", 0); -#else - cli_ses.cipher_none_after_auth = 0; -#endif - /* For printing "remote host closed" for the user */ ses.remoteclosed = cli_remoteclosed; @@ -275,14 +268,6 @@ } #endif -#if DROPBEAR_NONE_CIPHER - if (cli_ses.cipher_none_after_auth) - { - set_algo_usable(sshciphers, "none", 1); - send_msg_kexinit(); - } -#endif - if (cli_opts.backgrounded) { int devnull; /* keeping stdin open steals input from the terminal and