diff options
-rw-r--r-- | include/libssh/server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h index 3e781c3..af57f2f 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() */ |