aboutsummaryrefslogtreecommitdiff
path: root/src/gnutls/handshake.c
blob: 259056dff56e1307dee9e50f8e49ed5e8bfde577 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  enum MHD_Bool
  (*handshake)(void *cls,
	       struct MHD_TLS_ConnectionState *cs):



    if (MHD_TLS_CONN_NO_TLS != connection->tls_state)
    { /* HTTPS connection. */
      if (MHD_TLS_CONN_CONNECTED > connection->tls_state)
        {
          if (! MHD_run_tls_handshake_ (connection))
            return MHD_FALSE;
        }
    }
    return MHD_TRUE;