aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-05-20 14:02:32 +0200
committerHans <[email protected]>2015-05-26 15:08:26 +0200
commit12f96d2a414bb44c0c5268bc18741f6bad9bbe09 (patch)
tree7954a27878bdd1b955b0bdb497f809aa93d42f38 /lib/ssh/src/ssh.erl
parente5715f37dcfd9c21103232e699390d9736180923 (diff)
downloadotp-12f96d2a414bb44c0c5268bc18741f6bad9bbe09.tar.gz
otp-12f96d2a414bb44c0c5268bc18741f6bad9bbe09.tar.bz2
otp-12f96d2a414bb44c0c5268bc18741f6bad9bbe09.zip
ssh: Undocumented option 'compression' replaced by 'preferred_algorithms'
The 'compression' option was used in the test cases. The new option 'preferred_algorithms' is much more powerful and can be used as a replacement.
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r--lib/ssh/src/ssh.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl
index c3b0e3edc1..57f7ae8b5e 100644
--- a/lib/ssh/src/ssh.erl
+++ b/lib/ssh/src/ssh.erl
@@ -330,8 +330,6 @@ handle_option([{pwdfun, _} = Opt | Rest], SocketOptions, SshOptions) ->
handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
handle_option([{key_cb, _} = Opt | Rest], SocketOptions, SshOptions) ->
handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
-handle_option([{compression, _} = Opt | Rest], SocketOptions, SshOptions) ->
- handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
%%Backwards compatibility
handle_option([{allow_user_interaction, Value} | Rest], SocketOptions, SshOptions) ->
handle_option(Rest, SocketOptions, [handle_ssh_option({user_interaction, Value}) | SshOptions]);