From a75a2bf533324f64557f54e97b0012951ea38e61 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 4 Apr 2010 15:44:01 +0200 Subject: [PATCH] Fixed documentation of dh functions. --- libssh/dh.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/libssh/dh.c b/libssh/dh.c index f33d9997..34263c26 100644 --- a/libssh/dh.c +++ b/libssh/dh.c @@ -804,14 +804,18 @@ error: return rc; } -/** \addtogroup ssh_session - * @{ */ +/** + * @addtogroup libssh_session + * + * @{ + */ + /** * @brief Allocates a buffer with the MD5 hash of the server public key. * - * @param session The SSH session to use. + * @param[in] session The SSH session to use. * - * @param hash The buffer to allocate. + * @param[in] hash The buffer to allocate. * * @return The bytes allocated or < 0 on error. * @@ -857,10 +861,11 @@ int ssh_get_pubkey_hash(ssh_session session, unsigned char **hash) { /** * @brief Deallocate the hash obtained by ssh_get_pubkey_hash. + * * This is required under Microsoft platform as this library might use a * different C library than your software, hence a different heap. * - * @param hash The buffer to deallocate. + * @param[in] hash The buffer to deallocate. * * @see ssh_get_pubkey_hash() */ @@ -1037,5 +1042,6 @@ int signature_verify(ssh_session session, ssh_string signature) { return err; } -/** @} */ -/* vim: set ts=2 sw=2 et cindent: */ +/* @} */ + +/* vim: set ts=4 sw=4 et cindent: */