summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-17 15:08:29 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-18 15:34:15 +0100
commit2754c292187288da488e4e9bd24150b6320f851d (patch)
treefaa163a730eaa08788f5da8a7c034b0063685ee2
parent68371cdb610990cef4fbb52cb95aaa9e9af55146 (diff)
downloadgnutls-tmp-refuse-record-send.tar.gz
-rw-r--r--NEWS3
-rw-r--r--lib/range.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e4dd87b517..36cae9f067 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,9 @@ See the end for copying conditions.
* Version 3.6.0 (unreleased)
+** libgnutls: Refuse gnutls_record_send() and gnutls_record_recv()
+ calls prior to handshake being complete. Addresses gitlab issue #158.
+
** certtool: the option '--load-ca-certificate' can now accept PKCS#11
URLs in addition to files.
diff --git a/lib/range.c b/lib/range.c
index c12d98e0d9..0b5655974f 100644
--- a/lib/range.c
+++ b/lib/range.c
@@ -220,7 +220,7 @@ _gnutls_range_fragment(size_t data_size, gnutls_range_st cur,
* padding, and hence length hiding, use the gnutls_record_can_use_length_hiding()
* function.
*
- * Note: This function currently is only limited to blocking sockets.
+ * Note: This function currently is limited to blocking sockets.
*
* Returns: The number of bytes sent (that is data_size in a successful invocation),
* or a negative error code.