aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-06-11 23:14:25 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-06-11 23:14:25 +0200
commit2ed9d2160d126c76ab784da54b642b8930156dc5 (patch)
treeb394f94946603c53958ab85dc9b64a55cbe298ed /src
parent9bac67a05ab34f89636afc98d11e7883d226ca75 (diff)
downloadlibssh-2ed9d2160d126c76ab784da54b642b8930156dc5.tar.gz
libssh-2ed9d2160d126c76ab784da54b642b8930156dc5.tar.xz
libssh-2ed9d2160d126c76ab784da54b642b8930156dc5.zip
dh: Add a doc hint to ssh_string_free_char() for ssh_get_hexa().
Diffstat (limited to 'src')
-rw-r--r--src/dh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dh.c b/src/dh.c
index cb5e7d2c..a3fbaed2 100644
--- a/src/dh.c
+++ b/src/dh.c
@@ -190,6 +190,8 @@ void ssh_print_bignum(const char *which, bignum num) {
* @param len Length of the buffer to convert.
*
* @return The hex string or NULL on error.
+ *
+ * @see ssh_string_free_char()
*/
char *ssh_get_hexa(const unsigned char *what, size_t len) {
char *hexa = NULL;