aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-03-17 13:23:42 +0100
committerHans Nilsson <[email protected]>2017-03-17 13:23:42 +0100
commita4edbd619c624d2ca2f343da19a88fba74470e93 (patch)
treeb9d869c57ef476e97f5e90e986f6676f0350d7fe /lib/ssh/src
parent2cc47f22e4cb775422a6a7fb1b94836e7cf51143 (diff)
downloadotp-a4edbd619c624d2ca2f343da19a88fba74470e93.tar.gz
otp-a4edbd619c624d2ca2f343da19a88fba74470e93.tar.bz2
otp-a4edbd619c624d2ca2f343da19a88fba74470e93.zip
ssh: remove from code
Diffstat (limited to 'lib/ssh/src')
-rw-r--r--lib/ssh/src/ssh_options.erl11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/ssh/src/ssh_options.erl b/lib/ssh/src/ssh_options.erl
index 395be6b220..a882a01eaf 100644
--- a/lib/ssh/src/ssh_options.erl
+++ b/lib/ssh/src/ssh_options.erl
@@ -200,17 +200,6 @@ save({K,V}, _, _) when K == reuseaddr ;
save({allow_user_interaction,V}, Opts, Vals) ->
save({user_interaction,V}, Opts, Vals);
-save({public_key_alg,V}, Defs, Vals) -> % To remove in OTP-20
- New = case V of
- 'ssh-rsa' -> ['ssh-rsa', 'ssh-dss'];
- ssh_rsa -> ['ssh-rsa', 'ssh-dss'];
- 'ssh-dss' -> ['ssh-dss', 'ssh-rsa'];
- ssh_dsa -> ['ssh-dss', 'ssh-rsa'];
- _ -> error({eoptions, {public_key_alg,V},
- "Unknown algorithm, try pref_public_key_algs instead"})
- end,
- save({pref_public_key_algs,New}, Defs, Vals);
-
%% Special case for socket options 'inet' and 'inet6'
save(Inet, Defs, OptMap) when Inet==inet ; Inet==inet6 ->
save({inet,Inet}, Defs, OptMap);