Searched refs:tlsctx (Results 1 – 1 of 1) sorted by relevance
494 struct tls_ctx *tlsctx; in tls_connect() local541 tlsctx = calloc(1, sizeof(*tlsctx)); in tls_connect()542 if (tlsctx == NULL) { in tls_connect()549 tlsctx->tls_sock = sock; in tls_connect()550 tlsctx->tls_tcp = NULL; in tls_connect()551 tlsctx->tls_side = TLS_SIDE_CLIENT; in tls_connect()552 tlsctx->tls_wait_called = false; in tls_connect()553 tlsctx->tls_magic = TLS_CTX_MAGIC; in tls_connect()555 error = tls_connect_wait(tlsctx, timeout); in tls_connect()558 tls_close(tlsctx); in tls_connect()[all …]