aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_auth.erl
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2016-01-11 15:53:42 +0100
committerHenrik Nord <[email protected]>2016-01-11 15:53:42 +0100
commit12dffc7f0c85aa4662b97cba4af2c9ae2ba74083 (patch)
tree8910bb6655231190a86c1e880963a0c11e349369 /lib/ssh/src/ssh_auth.erl
parentf0bc967c38d8859ff794e93082e9d2fb495f34d3 (diff)
parent7cf9a621c5280a3e97967c4c63ab6ca1adde69c3 (diff)
downloadotp-12dffc7f0c85aa4662b97cba4af2c9ae2ba74083.tar.gz
otp-12dffc7f0c85aa4662b97cba4af2c9ae2ba74083.tar.bz2
otp-12dffc7f0c85aa4662b97cba4af2c9ae2ba74083.zip
Merge branch 'maint-18' into maint
Diffstat (limited to 'lib/ssh/src/ssh_auth.erl')
-rw-r--r--lib/ssh/src/ssh_auth.erl2
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, _) ->