summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-31 10:53:00 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-31 10:53:44 +0200
commit8b3efa745d3d206ada36b12e23269bcabd6803fc (patch)
tree43b90dd11755bcdecba3f7b8fd1243f5e2dcf276
parenteb699e40fb39266c539109d39ee101762613bd54 (diff)
downloadgnutls-8b3efa745d3d206ada36b12e23269bcabd6803fc.tar.gz
doc update
-rw-r--r--NEWS3
-rw-r--r--lib/gnutls_record.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index cd1e9504ac..dbeade4521 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,9 @@ See the end for copying conditions.
** libgnutls: gnutls_openpgp_keyring_import will no longer fail silently
if there are no base64 data. Report and patch by Ramkumar Chinchani.
+** libgnutls: gnutls_record_send is now safe to be called when in corked
+mode.
+
** libgnutls: Ciphersuites that use the SHA256 or SHA384 MACs are
only available in TLS 1.0 as SSL 3.0 doesn't specify parameters for
these algorithms.
diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
index 850590304c..bdd8d5635c 100644
--- a/lib/gnutls_record.c
+++ b/lib/gnutls_record.c
@@ -1438,8 +1438,8 @@ _gnutls_recv_int(gnutls_session_t session, content_type_t type,
* error code if the send data exceed the data MTU value - as returned
* by gnutls_dtls_get_data_mtu(). The errno value EMSGSIZE
* also maps to %GNUTLS_E_LARGE_PACKET.
- * Note that since 3.3.0 when called under cork in DTLS mode, this
- * function will refuse to send data over the MTU size by returning
+ * Note that since 3.2.12 this function can be called under cork in DTLS
+ * mode, and will refuse to send data over the MTU size by returning
* %GNUTLS_E_LARGE_PACKET.
*
* Returns: The number of bytes sent, or a negative error code. The