[glib-networking/mcatanzaro/session-resumption] FIXME: sabotague session resumption
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/mcatanzaro/session-resumption] FIXME: sabotague session resumption
- Date: Tue, 29 Oct 2019 18:33:18 +0000 (UTC)
commit bf68a8b53efbd2c43841e829d3fb999314b72209
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Oct 29 13:27:29 2019 -0500
FIXME: sabotague session resumption
tls/gnutls/gtlsclientconnection-gnutls.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/tls/gnutls/gtlsclientconnection-gnutls.c b/tls/gnutls/gtlsclientconnection-gnutls.c
index 8061889..c9da62e 100644
--- a/tls/gnutls/gtlsclientconnection-gnutls.c
+++ b/tls/gnutls/gtlsclientconnection-gnutls.c
@@ -120,6 +120,7 @@ get_server_identity (GTlsClientConnectionGnutls *gnutls)
return NULL;
}
+#if 0
static void
g_tls_client_connection_gnutls_compute_session_id (GTlsClientConnectionGnutls *gnutls)
{
@@ -200,6 +201,7 @@ g_tls_client_connection_gnutls_compute_session_id (GTlsClientConnectionGnutls *g
}
g_clear_object (&base_conn);
}
+#endif
static int
handshake_thread_session_ticket_received_cb (gnutls_session_t session,
@@ -450,6 +452,7 @@ static void
g_tls_client_connection_gnutls_prepare_handshake (GTlsConnectionBase *tls,
gchar **advertised_protocols)
{
+#if 0
GTlsClientConnectionGnutls *gnutls = G_TLS_CLIENT_CONNECTION_GNUTLS (tls);
g_tls_client_connection_gnutls_compute_session_id (gnutls);
@@ -475,6 +478,7 @@ g_tls_client_connection_gnutls_prepare_handshake (GTlsConnectionBase *tls,
gnutls->session_data = g_steal_pointer (&session_data);
}
}
+#endif
G_TLS_CONNECTION_BASE_CLASS (g_tls_client_connection_gnutls_parent_class)->
prepare_handshake (tls, advertised_protocols);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]