aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-30 23:11:32 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-30 23:11:32 +0200
commit5c48438dcbc42268c9a3363c086871ee083bf798 (patch)
tree42e8ade3b301589468bd3e5d042adc4310c9f766
parentb5b3db6c90dbe18c843910ccde1e3481600464c2 (diff)
downloadlibssh-5c48438dcbc42268c9a3363c086871ee083bf798.tar.gz
libssh-5c48438dcbc42268c9a3363c086871ee083bf798.tar.xz
libssh-5c48438dcbc42268c9a3363c086871ee083bf798.zip
doc: Improve doc of ssh_message_auth_pubkey().
-rw-r--r--include/libssh/server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 3e781c38..af57f2f3 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -285,10 +285,13 @@ LIBSSH_API const char *ssh_message_auth_password(ssh_message msg);
/**
* @brief Get the publickey of the authenticated user.
*
+ * If you need the key for later user you should duplicate it.
+ *
* @param[in] msg The message to get the public key from.
*
* @return The public key or NULL.
*
+ * @see ssh_key_dup()
* @see ssh_message_get()
* @see ssh_message_type()
*/