]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
safe renegotiation: simulate receiving the extension on receival of SCSV
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 31 Jul 2015 20:42:42 +0000 (22:42 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 31 Jul 2015 20:44:04 +0000 (22:44 +0200)
lib/ext/safe_renegotiation.c

index 1586589d5d5545d3106dc58252ca3c030d5f9f2a..ea8208c508676d9b117a3b56bc902c6e11dfc001 100644 (file)
@@ -219,6 +219,7 @@ int _gnutls_ext_sr_recv_cs(gnutls_session_t session)
 
        priv->safe_renegotiation_received = 1;
        priv->connection_using_safe_renegotiation = 1;
+       _gnutls_extension_list_add(session, GNUTLS_EXTENSION_SAFE_RENEGOTIATION);
 
        if (set != 0)
                _gnutls_ext_set_session_data(session,