summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-05-17 20:14:17 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-05-19 03:14:00 +0200
commit948f647c5621d37b29fabd7f8999d674f4bb320b (patch)
treee0d9c52139ffeb4d0a9400a7301e0f7f86e13610 /lib
parent773d19dece7b3ece770004513af04016df9a46e6 (diff)
downloadgnutls-948f647c5621d37b29fabd7f8999d674f4bb320b.tar.gz
documented function behavior
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_str.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_str.c b/lib/gnutls_str.c
index ba46612c68..41722fc62e 100644
--- a/lib/gnutls_str.c
+++ b/lib/gnutls_str.c
@@ -577,6 +577,8 @@ gnutls_hex_decode (const gnutls_datum_t * hex_data, void *result,
* This function will convert the given data to printable data, using
* the hex encoding, as used in the PSK password files.
*
+ * Note that the size of the result includes the null terminator.
+ *
* Returns: %GNUTLS_E_SHORT_MEMORY_BUFFER if the buffer given is not
* long enough, or 0 on success.
**/