[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU gnutls branch, master, updated. gnutls_3_0_18-182-g4d36d74
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU gnutls branch, master, updated. gnutls_3_0_18-182-g4d36d74 |
Date: |
Sat, 30 Jun 2012 16:36:46 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".
http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=4d36d74d99bfc0f12fcd34d093d3c035743e0038
The branch, master has been updated
via 4d36d74d99bfc0f12fcd34d093d3c035743e0038 (commit)
from 817238eb03b3a38acbb349d4401b9fc4a48db914 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4d36d74d99bfc0f12fcd34d093d3c035743e0038
Author: David Woodhouse <address@hidden>
Date: Sat Jun 30 00:07:49 2012 +0100
Return GNUTLS_E_LARGE_PACKET instead of truncating when sending DTLS record
Signed-off-by: Nikos Mavrogiannopoulos <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
lib/gnutls_record.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
index e6250f8..fbb84a1 100644
--- a/lib/gnutls_record.c
+++ b/lib/gnutls_record.c
@@ -384,7 +384,14 @@ _gnutls_send_int (gnutls_session_t session, content_type_t
type,
_gnutls_packet2str (type), type, (int) data_size);
if (data_size > MAX_RECORD_SEND_SIZE(session))
- send_data_size = MAX_RECORD_SEND_SIZE(session);
+ {
+ if (IS_DTLS(session))
+ {
+ gnutls_assert ();
+ return GNUTLS_E_LARGE_PACKET;
+ }
+ send_data_size = MAX_RECORD_SEND_SIZE(session);
+ }
else
send_data_size = data_size;
hooks/post-receive
--
GNU gnutls
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU gnutls branch, master, updated. gnutls_3_0_18-182-g4d36d74,
Nikos Mavrogiannopoulos <=