/* tlsv1_client_established - Check whether connection has been established @conn: TLSv1 client connection data from tlsv1_client_init() Returns: 1 if connection is established, 0 if not  */
int tlsv1_client_established(struct tlsv1_client *conn)
/* tlsv1_client_established - Check whether connection has been established @conn: TLSv1 client connection data from tlsv1_client_init() Returns: 1 if connection is established, 0 if not  */
int tlsv1_client_established(struct tlsv1_client *conn)
{
	return conn->state == ESTABLISHED;
}