[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU gnutls branch, master, updated. gnutls_2_9_9-39-g2a1121f
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU gnutls branch, master, updated. gnutls_2_9_9-39-g2a1121f |
Date: |
Tue, 12 Jan 2010 19:24:40 +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=2a1121f9d91d1b7eda7090b2060a2467fff98153
The branch, master has been updated
via 2a1121f9d91d1b7eda7090b2060a2467fff98153 (commit)
from 5a92d28f74951356705d4e6698b9315980911f87 (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 2a1121f9d91d1b7eda7090b2060a2467fff98153
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Tue Jan 12 20:24:06 2010 +0100
When denying an initial negotiation due to missing safe renegotiation
extension reply with NO_RENEGOTIATION alert.
-----------------------------------------------------------------------
Summary of changes:
lib/gnutls_handshake.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c
index 3620a29..41a9f0e 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -2430,6 +2430,15 @@ _gnutls_recv_hello (gnutls_session_t session, opaque *
data, int datalen)
{
gnutls_assert();
_gnutls_handshake_log ("Denying unsafe renegotiation.\n");
+ ret = gnutls_alert_send (session, GNUTLS_AL_WARNING,
+ GNUTLS_A_NO_RENEGOTIATION);
+
+ if (ret < 0)
+ {
+ gnutls_assert ();
+ return ret;
+ }
+
return GNUTLS_E_SAFE_RENEGOTIATION_FAILED;
}
}
hooks/post-receive
--
GNU gnutls
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU gnutls branch, master, updated. gnutls_2_9_9-39-g2a1121f,
Nikos Mavrogiannopoulos <=