summaryrefslogtreecommitdiff
path: root/lib/randomart.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-04-08 16:15:46 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-04-08 17:17:44 +0200
commit35b7b13cb8895f1d684b97d7a1846d448a9a59ee (patch)
tree29e4890ec2bc60c41d0754e31460b024e7bfa0da /lib/randomart.c
parent4eb84579da07bed96b96f8fd1746acadc9cb2caf (diff)
downloadgnutls-35b7b13cb8895f1d684b97d7a1846d448a9a59ee.tar.gz
doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'lib/randomart.c')
-rw-r--r--lib/randomart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/randomart.c b/lib/randomart.c
index b5d1a17311..f83df71002 100644
--- a/lib/randomart.c
+++ b/lib/randomart.c
@@ -34,7 +34,8 @@
* @art: The returned random art
*
* This function will convert a given fingerprint to an "artistic"
- * image. The returned image is allocated using gnutls_malloc().
+ * image. The returned image is allocated using gnutls_malloc(), is
+ * null-terminated but art->size will not account the terminating null.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise
* an error code is returned.