From 85cc582d4a2d9de68957d6d49cdad836c494d404 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 4 Oct 2011 10:46:45 +0200 Subject: doc: Improve doc of ssh_get_pubkey_hash(). --- src/dh.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dh.c b/src/dh.c index 5696449..109c460 100644 --- a/src/dh.c +++ b/src/dh.c @@ -952,6 +952,10 @@ error: /** * @brief Allocates a buffer with the MD5 hash of the server public key. * + * This function allows you to get a MD5 hash of the public key. You can then + * print this hash in a human-readable form to the user so that he is able to + * verify it. Use ssh_get_hexa() or ssh_print_hexa() to display it. + * * @param[in] session The SSH session to use. * * @param[in] hash The buffer to allocate. -- cgit