aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_file.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-04-18 20:17:08 +0200
committerHans Nilsson <[email protected]>2018-04-25 16:03:07 +0200
commit5611b6139cb39a4e91a5cc6f61d698658120f49e (patch)
tree0814e87deeec11b6ddaaba570e0c893d359cd43f /lib/ssh/src/ssh_file.erl
parent960467ead200635cb935dfd3aa5a5abe38299ca6 (diff)
downloadotp-5611b6139cb39a4e91a5cc6f61d698658120f49e.tar.gz
otp-5611b6139cb39a4e91a5cc6f61d698658120f49e.tar.bz2
otp-5611b6139cb39a4e91a5cc6f61d698658120f49e.zip
ssh: New -spec and -type
Diffstat (limited to 'lib/ssh/src/ssh_file.erl')
-rw-r--r--lib/ssh/src/ssh_file.erl21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/ssh/src/ssh_file.erl b/lib/ssh/src/ssh_file.erl
index 33792da38f..9cab2fe0bd 100644
--- a/lib/ssh/src/ssh_file.erl
+++ b/lib/ssh/src/ssh_file.erl
@@ -45,27 +45,6 @@
%%% API
-%%% client
--spec add_host_key(string(),
- public_key:public_key(),
- proplists:proplist()) -> ok | {error,term()}.
-
--spec is_host_key(public_key:public_key(),
- string(),
- ssh_client_key_api:algorithm(),
- proplists:proplist()) -> boolean().
-
--spec user_key(ssh_client_key_api:algorithm(),
- proplists:proplist()) -> {ok, public_key:private_key()} | {error,term()}.
-
-%%% server
--spec host_key(ssh_server_key_api:algorithm(),
- proplists:proplist()) -> {ok, public_key:private_key()} | {error,term()}.
-
--spec is_auth_key(public_key:public_key(),
- string(), proplists:proplist()) -> boolean().
-
-
%% Used by server
host_key(Algorithm, Opts) ->
File = file_name(system, file_base_name(Algorithm), Opts),