diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-09 23:58:13 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-09 23:58:13 +0800 |
commit | c81e530d3c7d6f21552582de66ec0002f36c9028 (patch) | |
tree | d7c76d3bc903fc4051811919c252ecd18c9a5902 /cli-session.c | |
parent | 4b021ae6f0b957eeab8bb6c6f20f20173c5e29f2 (diff) |
missed saving a file removing none cipher
Diffstat (limited to 'cli-session.c')
-rw-r--r-- | cli-session.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cli-session.c b/cli-session.c index f1115d6..9453bb0 100644 --- a/cli-session.c +++ b/cli-session.c @@ -165,13 +165,6 @@ static void cli_session_init(pid_t proxy_cmd_pid) { 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 @@ static void cli_sessionloop() { } #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 |