summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dh.c4
1 files changed, 4 insertions, 0 deletions
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.