diff options
author | Hans Nilsson <[email protected]> | 2017-03-10 12:56:33 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-04-07 10:19:55 +0200 |
commit | 7b21b7b5fa0b6da173080bc8322e99eead905191 (patch) | |
tree | e4c868b020ae734e80129effa5d15d66337ac8a2 /lib/ssh/src/ssh_transport.erl | |
parent | d88d2cd8e9c50122923adc8b17904664f6360528 (diff) | |
download | otp-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/ssh/src/ssh_transport.erl')
-rw-r--r-- | lib/ssh/src/ssh_transport.erl | 2 |
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) ++ "." ++ |