aboutsummaryrefslogtreecommitdiff
path: root/src/gnutls/handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnutls/handshake.c')
-rw-r--r--src/gnutls/handshake.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gnutls/handshake.c b/src/gnutls/handshake.c
index 259056df..8970ad8a 100644
--- a/src/gnutls/handshake.c
+++ b/src/gnutls/handshake.c
@@ -1,15 +1,15 @@
1 enum MHD_Bool 1enum MHD_Bool
2 (*handshake)(void *cls, 2(*handshake)(void *cls,
3 struct MHD_TLS_ConnectionState *cs): 3 struct MHD_TLS_ConnectionState *cs) :
4 4
5 5
6 6
7 if (MHD_TLS_CONN_NO_TLS != connection->tls_state) 7 if (MHD_TLS_CONN_NO_TLS != connection->tls_state)
8 { /* HTTPS connection. */ 8{ /* HTTPS connection. */
9 if (MHD_TLS_CONN_CONNECTED > connection->tls_state) 9 if (MHD_TLS_CONN_CONNECTED > connection->tls_state)
10 { 10 {
11 if (! MHD_run_tls_handshake_ (connection)) 11 if (! MHD_run_tls_handshake_ (connection))
12 return MHD_FALSE; 12 return MHD_FALSE;
13 } 13 }
14 } 14}
15 return MHD_TRUE; 15return MHD_TRUE;