From 5c48438dcbc42268c9a3363c086871ee083bf798 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 30 Aug 2011 23:11:32 +0200 Subject: [PATCH] doc: Improve doc of ssh_message_auth_pubkey(). --- include/libssh/server.h | 3 +++ 1 file changed, 3 insertions(+) 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() */