diff options
author | Hans Nilsson <[email protected]> | 2015-10-01 10:27:18 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2015-10-06 15:24:40 +0200 |
commit | f1e82db97780529ccf46b8e7b72d482649b6dcd2 (patch) | |
tree | a63689264b1c9b340e5972141ad2da7dfe9d482c /lib/ssh/src/ssh_connection_handler.erl | |
parent | 258c8cd05d0a4215255121e7466e4ccd4c8ae82c (diff) | |
download | otp-f1e82db97780529ccf46b8e7b72d482649b6dcd2.tar.gz otp-f1e82db97780529ccf46b8e7b72d482649b6dcd2.tar.bz2 otp-f1e82db97780529ccf46b8e7b72d482649b6dcd2.zip |
ssh: Bug in [email protected] compression fixed
Diffstat (limited to 'lib/ssh/src/ssh_connection_handler.erl')
-rw-r--r-- | lib/ssh/src/ssh_connection_handler.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl index 646f787874..ee1dd5c9ce 100644 --- a/lib/ssh/src/ssh_connection_handler.erl +++ b/lib/ssh/src/ssh_connection_handler.erl @@ -530,7 +530,7 @@ userauth(#ssh_msg_userauth_request{service = "ssh-connection", Pid ! ssh_connected, connected_fun(User, Address, Method, Opts), {next_state, connected, - next_packet(State#state{auth_user = User, ssh_params = Ssh})}; + next_packet(State#state{auth_user = User, ssh_params = Ssh#ssh{authenticated = true}})}; {not_authorized, {User, Reason}, {Reply, Ssh}} when Method == "keyboard-interactive" -> retry_fun(User, Address, Reason, Opts), send_msg(Reply, State), @@ -622,7 +622,7 @@ userauth_keyboard_interactive(#ssh_msg_userauth_info_response{} = Msg, Pid ! ssh_connected, connected_fun(User, Address, "keyboard-interactive", Opts), {next_state, connected, - next_packet(State#state{auth_user = User, ssh_params = Ssh})}; + next_packet(State#state{auth_user = User, ssh_params = Ssh#ssh{authenticated = true}})}; {not_authorized, {User, Reason}, {Reply, Ssh}} -> retry_fun(User, Address, Reason, Opts), send_msg(Reply, State), |