aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-10-04 10:46:45 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-10-04 10:47:05 +0200
commit85cc582d4a2d9de68957d6d49cdad836c494d404 (patch)
tree6a0f4980e6048775d9c6eac0fc379ad9ddb645c8 /src
parentc340192144eecf06e2f35277f099d127a2f0c549 (diff)
downloadlibssh-85cc582d4a2d9de68957d6d49cdad836c494d404.tar.gz
libssh-85cc582d4a2d9de68957d6d49cdad836c494d404.tar.xz
libssh-85cc582d4a2d9de68957d6d49cdad836c494d404.zip
doc: Improve doc of ssh_get_pubkey_hash().
Diffstat (limited to 'src')
-rw-r--r--src/dh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dh.c b/src/dh.c
index 56964498..109c4608 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.