diff options
author | Erlang/OTP <[email protected]> | 2016-01-08 13:09:29 +0100 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2016-01-08 13:09:29 +0100 |
commit | 99f3ef4df2fe90bc67afe9dc87464be18457dfec (patch) | |
tree | 4412e809e7fe68c215460a84ecc3f3c025f29b94 /lib/ssh/src/ssh_auth.erl | |
parent | 21d6192389a04024f7a41ced9d0911a9cce6f4e8 (diff) | |
parent | 9394c572a28d08f3c564d6f388152c9c41968565 (diff) | |
download | otp-99f3ef4df2fe90bc67afe9dc87464be18457dfec.tar.gz otp-99f3ef4df2fe90bc67afe9dc87464be18457dfec.tar.bz2 otp-99f3ef4df2fe90bc67afe9dc87464be18457dfec.zip |
Merge branch 'hans/ssh/keyboard_interactive0/OTP-13255' into maint-18
* hans/ssh/keyboard_interactive0/OTP-13255:
ssh: update vsn.mk to 4.2.1
ssh: handle secondary ssh_msg_userauth_info_request message
ssh: testcase for abnormal keyboard-interactive authentication
Diffstat (limited to 'lib/ssh/src/ssh_auth.erl')
-rw-r--r-- | lib/ssh/src/ssh_auth.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_auth.erl b/lib/ssh/src/ssh_auth.erl index fdbb5c152a..b71bed033a 100644 --- a/lib/ssh/src/ssh_auth.erl +++ b/lib/ssh/src/ssh_auth.erl @@ -477,7 +477,7 @@ keyboard_interact_get_responses(_, undefined, Password, _, _, _, _, _, 1) when Password =/= undefined -> [Password]; %% Password auth implemented with keyboard-interaction and passwd is known keyboard_interact_get_responses(_, _, _, _, _, _, _, _, 0) -> - [""]; + []; keyboard_interact_get_responses(false, undefined, undefined, _, _, _, [Prompt|_], Opts, _) -> ssh_no_io:read_line(Prompt, Opts); %% Throws error as keyboard interaction is not allowed keyboard_interact_get_responses(true, undefined, _,IoCb, Name, Instr, PromptInfos, Opts, _) -> |