summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2007-07-30 22:24:52 -0400
committerSøren Sandmann <sandmann@redhat.com>2007-07-30 22:24:52 -0400
commitb1b890eeec82439d7355773314150e3e6e030fbe (patch)
tree2a392903cb937971f905c0ce51925c64d4aa59e9
parent5e42cfed15542f68153a279b9dac2dfc6153888d (diff)
Various stuff
-rw-r--r--src/lactlsconnection.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lactlsconnection.c b/src/lactlsconnection.c
index 08e14ac..5819764 100644
--- a/src/lactlsconnection.c
+++ b/src/lactlsconnection.c
@@ -96,33 +96,14 @@ do_handshake (LacTlsConnection *tls)
res, gnutls_strerror (res));
if (res == GNUTLS_E_WARNING_ALERT_RECEIVED)
- {
print_alert (tls->session);
- }
else if (res == GNUTLS_E_FATAL_ALERT_RECEIVED)
- {
print_alert (tls->session);
- }
/* FIXME: emit an error */
if (gnutls_error_is_fatal (res))
- {
- g_print ("fatal\n");
lac_connection_close (tls->tcp_connection);
- }
- else
- {
- g_print (" not fatal\n");
- }
}
- else
- {
- g_print (" insufficient data\n");
- }
- }
- else
- {
- g_print (" positive return code?\n");
}
}