summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-05-22 21:49:15 +0200
committerSimon Josefsson <simon@josefsson.org>2010-05-22 21:49:15 +0200
commit5fc3704e32462fb649b912749afbba6578df6ce0 (patch)
treed9ff95f47032ead70c1e7a68f08d4e1df14cb82f /lib
parent78149b946d3cff7be0acac9c25209d553a4c7504 (diff)
downloadgnutls-5fc3704e32462fb649b912749afbba6578df6ce0.tar.gz
Change GNU TLS into GnuTLS.
Diffstat (limited to 'lib')
-rw-r--r--lib/ext_safe_renegotiation.c6
-rw-r--r--lib/gnutls_handshake.c1
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/ext_safe_renegotiation.c b/lib/ext_safe_renegotiation.c
index 3c0a404070..15b9137817 100644
--- a/lib/ext_safe_renegotiation.c
+++ b/lib/ext_safe_renegotiation.c
@@ -37,12 +37,6 @@ _gnutls_safe_renegotiation_recv_params (gnutls_session_t session,
DECR_LEN (data_size, len + 1 /* count the first byte and payload */ );
- if (session->internals.priorities.disable_safe_renegotiation != 0)
- {
- gnutls_assert ();
- return 0;
- }
-
/* It is not legal to receive this extension on a renegotiation and
* not receive it on the initial negotiation.
*/
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c
index b1b44c7ba0..fe7cd9809f 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -864,7 +864,6 @@ _gnutls_server_select_suite (gnutls_session_t session, opaque * data,
/* First, check for safe renegotiation SCSV.
*/
- if (session->internals.priorities.disable_safe_renegotiation == 0)
{
int offset;