[glib-networking] gnutls: Remove dead code
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] gnutls: Remove dead code
- Date: Mon, 22 May 2017 11:59:25 +0000 (UTC)
commit acbc72ce79fb0874f730c34950533a88ee106920
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon May 22 06:58:22 2017 -0500
gnutls: Remove dead code
glib-networking currently requires GLib 2.46.0, so this is dead code.
tls/gnutls/gtlsconnection-gnutls.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index e87ec36..05e38b6 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -782,9 +782,7 @@ end_gnutls_io (GTlsConnectionGnutls *gnutls,
if (gnutls->priv->handshaking && !gnutls->priv->ever_handshaked)
{
if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_FAILED) ||
-#if GLIB_CHECK_VERSION (2, 35, 3)
g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_BROKEN_PIPE) ||
-#endif
status == GNUTLS_E_UNEXPECTED_PACKET_LENGTH ||
status == GNUTLS_E_FATAL_ALERT_RECEIVED ||
status == GNUTLS_E_DECRYPTION_FAILED ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]