diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-05-17 20:14:17 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-05-19 03:14:00 +0200 |
commit | 948f647c5621d37b29fabd7f8999d674f4bb320b (patch) | |
tree | e0d9c52139ffeb4d0a9400a7301e0f7f86e13610 /lib | |
parent | 773d19dece7b3ece770004513af04016df9a46e6 (diff) | |
download | gnutls-948f647c5621d37b29fabd7f8999d674f4bb320b.tar.gz |
documented function behavior
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gnutls_str.c | 2 |
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. **/ |