summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.