aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_key_cb.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-01-19 15:10:58 +0100
committerHans Nilsson <[email protected]>2017-02-01 13:12:06 +0100
commit666f78baa02345058e71021b1560c42c5bb1aff5 (patch)
tree1b95eb259ef2a44b867f60db2dff2b5ffba71f47 /lib/ssh/test/ssh_key_cb.erl
parentd89206ccb3df4fc4fff4549f561085611febb22a (diff)
downloadotp-666f78baa02345058e71021b1560c42c5bb1aff5.tar.gz
otp-666f78baa02345058e71021b1560c42c5bb1aff5.tar.bz2
otp-666f78baa02345058e71021b1560c42c5bb1aff5.zip
ssh: update tests for removed algorithms
Diffstat (limited to 'lib/ssh/test/ssh_key_cb.erl')
-rw-r--r--lib/ssh/test/ssh_key_cb.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_key_cb.erl b/lib/ssh/test/ssh_key_cb.erl
index 388ec2ecc1..12ff79efcd 100644
--- a/lib/ssh/test/ssh_key_cb.erl
+++ b/lib/ssh/test/ssh_key_cb.erl
@@ -33,9 +33,9 @@ add_host_key(_, _, _) ->
is_host_key(_, _, _, _) ->
true.
-user_key('ssh-dss', Opts) ->
+user_key('ssh-rsa', Opts) ->
UserDir = proplists:get_value(user_dir, Opts),
- KeyFile = filename:join(filename:dirname(UserDir), "id_dsa"),
+ KeyFile = filename:join(filename:dirname(UserDir), "id_rsa"),
{ok, KeyBin} = file:read_file(KeyFile),
[Entry] = public_key:pem_decode(KeyBin),
Key = public_key:pem_entry_decode(Entry),