summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2017-12-21 15:53:30 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:37 +0100
commit306a56ce15fc3017654a803ceae38432de96d616 (patch)
tree5635bc653f71d241190072db240f46f1f50b26c0 /lib
parent71be7f607f997b70450d9a1dda3f7269d9af46d9 (diff)
downloadgnutls-306a56ce15fc3017654a803ceae38432de96d616.tar.gz
doc: fix mention of gnutls_record_send_range()
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/range.c4
-rw-r--r--lib/record.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/range.c b/lib/range.c
index 9a1af277db..c2e5da3960 100644
--- a/lib/range.c
+++ b/lib/range.c
@@ -94,10 +94,10 @@ _gnutls_range_max_lh_pad(gnutls_session_t session, ssize_t data_length,
* @session: is a #gnutls_session_t type.
*
* If the session supports length-hiding padding, you can
- * invoke gnutls_range_send_message() to send a message whose
+ * invoke gnutls_record_send_range() to send a message whose
* length is hidden in the given range. If the session does not
* support length hiding padding, you can use the standard
- * gnutls_record_send() function, or gnutls_range_send_message()
+ * gnutls_record_send() function, or gnutls_record_send_range()
* making sure that the range is the same as the length of the
* message you are trying to send.
*
diff --git a/lib/record.c b/lib/record.c
index b3ae667681..3e2af9300c 100644
--- a/lib/record.c
+++ b/lib/record.c
@@ -76,8 +76,8 @@ struct tls_record_st {
* complain if a server pads the encrypted data. This of course will
* disable protection against statistical attacks on the data.
*
- * This functions is defunt since 3.1.7. Random padding is disabled
- * by default unless requested using gnutls_range_send_message().
+ * This function is defunct since 3.1.7. Random padding is disabled
+ * by default unless requested using gnutls_record_send_range().
*
**/
void gnutls_record_disable_padding(gnutls_session_t session)