summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gnutls_db.c2
-rw-r--r--libextra/gnutls_srp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_db.c b/lib/gnutls_db.c
index 601f6bad2f..404afea8c5 100644
--- a/lib/gnutls_db.c
+++ b/lib/gnutls_db.c
@@ -40,7 +40,7 @@
* data on success, or a gnutls_datum containing null and 0 on failure.
*
* The datum's data must be allocated using the function returned by
- * gnutls_get_malloc_function().
+ * gnutls_global_get_malloc_function().
*
* The first argument to store_function() will be null unless gnutls_db_set_ptr()
* has been called.
diff --git a/libextra/gnutls_srp.c b/libextra/gnutls_srp.c
index c5ab1bc59d..32b921f452 100644
--- a/libextra/gnutls_srp.c
+++ b/libextra/gnutls_srp.c
@@ -514,7 +514,7 @@ void gnutls_srp_server_set_select_function(gnutls_session session,
* 'username' contains the actual username.
*
* The 'salt', 'verifier', 'generator' and 'prime' must be filled
- * in using the malloc returned by gnutls_get_malloc_function().
+ * in using the malloc returned by gnutls_global_get_malloc_function().
*
* In case the callback returned a negative number then gnutls will
* assume that the username does not exist.