1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-14 04:18:54 +03:00

doc: Improve doc of ssh_message_auth_pubkey().

This commit is contained in:
Andreas Schneider
2011-08-30 23:11:32 +02:00
parent b5b3db6c90
commit 5c48438dcb

View File

@@ -285,10 +285,13 @@ LIBSSH_API const char *ssh_message_auth_password(ssh_message msg);
/** /**
* @brief Get the publickey of the authenticated user. * @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. * @param[in] msg The message to get the public key from.
* *
* @return The public key or NULL. * @return The public key or NULL.
* *
* @see ssh_key_dup()
* @see ssh_message_get() * @see ssh_message_get()
* @see ssh_message_type() * @see ssh_message_type()
*/ */