aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-03-10 12:56:33 +0100
committerHans Nilsson <[email protected]>2017-04-07 10:19:55 +0200
commit7b21b7b5fa0b6da173080bc8322e99eead905191 (patch)
treee4c868b020ae734e80129effa5d15d66337ac8a2 /lib
parentd88d2cd8e9c50122923adc8b17904664f6360528 (diff)
downloadotp-7b21b7b5fa0b6da173080bc8322e99eead905191.tar.gz
otp-7b21b7b5fa0b6da173080bc8322e99eead905191.tar.bz2
otp-7b21b7b5fa0b6da173080bc8322e99eead905191.zip
ssh: Bug fix when calling ssh_io:yes_no
This was introduced by the new option handling in commit 89a829f32d855610b0bc0c3ea53e7c05454b7a24
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh/src/ssh_transport.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_transport.erl b/lib/ssh/src/ssh_transport.erl
index 02c995399a..5d896e02a2 100644
--- a/lib/ssh/src/ssh_transport.erl
+++ b/lib/ssh/src/ssh_transport.erl
@@ -201,7 +201,7 @@ is_valid_mac(Mac, Data, #ssh{recv_mac = Algorithm,
Mac == mac(Algorithm, Key, SeqNum, Data).
yes_no(Ssh, Prompt) ->
- (Ssh#ssh.io_cb):yes_no(Prompt, Ssh).
+ (Ssh#ssh.io_cb):yes_no(Prompt, Ssh#ssh.opts).
format_version({Major,Minor}, SoftwareVersion) ->
"SSH-" ++ integer_to_list(Major) ++ "." ++