aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src/pubkey_ssh.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-02-10 09:35:03 +0100
committerIngela Anderton Andin <[email protected]>2014-02-10 09:35:03 +0100
commit1918d8fead3a8d4bfd177f68806db539911ad808 (patch)
tree12781f3f4d00ad00519c56f7aa032b9e776ba94d /lib/public_key/src/pubkey_ssh.erl
parent0cbf6ec7444df2c0441debc6bcd5aba0bbc7104d (diff)
parent8588180dce9aa7fffbba8c580d67e857796c6e5d (diff)
downloadotp-1918d8fead3a8d4bfd177f68806db539911ad808.tar.gz
otp-1918d8fead3a8d4bfd177f68806db539911ad808.tar.bz2
otp-1918d8fead3a8d4bfd177f68806db539911ad808.zip
Merge branch 'ia/public_key/specs'
* ia/public_key/specs: public_key: Export some dialyzer types
Diffstat (limited to 'lib/public_key/src/pubkey_ssh.erl')
-rw-r--r--lib/public_key/src/pubkey_ssh.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/public_key/src/pubkey_ssh.erl b/lib/public_key/src/pubkey_ssh.erl
index 41280b9e14..0522ea6ac3 100644
--- a/lib/public_key/src/pubkey_ssh.erl
+++ b/lib/public_key/src/pubkey_ssh.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2011-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2011-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -35,7 +35,8 @@
%%====================================================================
%%--------------------------------------------------------------------
--spec decode(binary(), public_key | ssh_file()) -> [{public_key(), Attributes::list()}].
+-spec decode(binary(), public_key | public_key:ssh_file()) ->
+ [{public_key:public_key(), Attributes::list()}].
%%
%% Description: Decodes a ssh file-binary.
%%--------------------------------------------------------------------
@@ -52,7 +53,7 @@ decode(Bin, Type) ->
openssh_decode(Bin, Type).
%%--------------------------------------------------------------------
--spec encode([{public_key(), Attributes::list()}], ssh_file()) ->
+-spec encode([{public_key:public_key(), Attributes::list()}], public_key:ssh_file()) ->
binary().
%%
%% Description: Encodes a list of ssh file entries.