summaryrefslogtreecommitdiff
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:04:34 +0200
commit22d186a16c7871650198ab2a353e53677a24a5de (patch)
tree3a9f27b359e3d98113786a3f570c5224da480246
parent5fd931d724f5e0bb712af586295bc9526b7a8181 (diff)
downloadgnutls-22d186a16c7871650198ab2a353e53677a24a5de.tar.gz
doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--lib/dh.c2
-rw-r--r--lib/randomart.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/dh.c b/lib/dh.c
index 8248baf26c..b1b99b4e36 100644
--- a/lib/dh.c
+++ b/lib/dh.c
@@ -234,7 +234,7 @@ void gnutls_dh_params_deinit(gnutls_dh_params_t dh_params)
* @src: Is the source parameters
*
* This function will copy the DH parameters structure from source
- * to destination.
+ * to destination. The destination should be already initialized.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
* otherwise a negative error code is returned.
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.