mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
Improve documentation by mentioning the free functions
Related: https://gitlab.com/libssh/libssh-mirror/-/issues/3 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
6623856e08
commit
1d238694e7
3
src/dh.c
3
src/dh.c
@@ -711,7 +711,8 @@ static char *ssh_get_b64_unpadded(const unsigned char *hash, size_t len)
|
||||
*
|
||||
* @param len Length of the buffer to convert.
|
||||
*
|
||||
* @return Returns the allocated fingerprint hash or NULL on error.
|
||||
* @return Returns the allocated fingerprint hash or NULL on error. The caller
|
||||
* needs to free the memory using ssh_string_free_char().
|
||||
*
|
||||
* @see ssh_string_free_char()
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user