Lines Matching refs:ossl
355 rc = SSL_shutdown_ex(ctx->tls.ossl.ssl, in cf_osslq_shutdown()
370 int err = SSL_get_error(ctx->tls.ossl.ssl, rc); in cf_osslq_shutdown()
412 if(ctx && ctx->tls.ossl.ssl) { in cf_osslq_close()
416 SSL_shutdown_ex(ctx->tls.ossl.ssl, in cf_osslq_close()
436 if(ctx->tls.ossl.ssl) in cf_osslq_destroy()
503 lerr = SSL_get_verify_result(ctx->tls.ossl.ssl); in cf_osslq_ssl_err()
1216 if(!SSL_set1_initial_peer_addr(ctx->tls.ossl.ssl, baddr)) { in cf_osslq_ctx_start()
1221 if(!SSL_set_blocking_mode(ctx->tls.ossl.ssl, 0)) { in cf_osslq_ctx_start()
1229 if(!SSL_set_feature_request_uint(ctx->tls.ossl.ssl, in cf_osslq_ctx_start()
1238 SSL_set_bio(ctx->tls.ossl.ssl, bio, bio); in cf_osslq_ctx_start()
1240 SSL_set_connect_state(ctx->tls.ossl.ssl); in cf_osslq_ctx_start()
1241 SSL_set_incoming_stream_policy(ctx->tls.ossl.ssl, in cf_osslq_ctx_start()
1244 result = cf_osslq_h3conn_init(ctx, ctx->tls.ossl.ssl, cf); in cf_osslq_ctx_start()
1408 if(!ctx->tls.ossl.ssl) in cf_progress_ingress()
1415 SSL *snew = SSL_accept_stream(ctx->tls.ossl.ssl, in cf_progress_ingress()
1423 if(!SSL_handle_events(ctx->tls.ossl.ssl)) { in cf_progress_ingress()
1424 int detail = SSL_get_error(ctx->tls.ossl.ssl, 0); in cf_progress_ingress()
1493 if(!ctx->tls.ossl.ssl || !ctx->h3.conn) in h3_send_streams()
1609 if(!ctx->tls.ossl.ssl) in cf_progress_egress()
1617 if(!SSL_handle_events(ctx->tls.ossl.ssl)) { in cf_progress_egress()
1618 int detail = SSL_get_error(ctx->tls.ossl.ssl, 0); in cf_progress_egress()
1638 if(ctx->tls.ossl.ssl && in check_and_set_expiry()
1639 SSL_get_event_timeout(ctx->tls.ossl.ssl, &tv, &is_infinite) && in check_and_set_expiry()
1650 if(SSL_get_event_timeout(ctx->tls.ossl.ssl, &tv, &is_infinite)) { in check_and_set_expiry()
1689 if(!ctx->tls.ossl.ssl) { in cf_osslq_connect()
1713 err = SSL_do_handshake(ctx->tls.ossl.ssl); in cf_osslq_connect()
1731 int detail = SSL_get_error(ctx->tls.ossl.ssl, err); in cf_osslq_connect()
1761 if(result == CURLE_RECV_ERROR && ctx->tls.ossl.ssl && in cf_osslq_connect()
1850 *err = cf_osslq_stream_open(&stream->s, ctx->tls.ossl.ssl, 0, in h3_stream_open()
1930 DEBUGASSERT(ctx->tls.ossl.ssl); in cf_osslq_send()
2045 DEBUGASSERT(ctx->tls.ossl.ssl); in cf_osslq_recv()
2183 if(!ctx->tls.ossl.ssl) in cf_osslq_conn_is_alive()
2191 if(!SSL_get_value_uint(ctx->tls.ossl.ssl, in cf_osslq_conn_is_alive()
2232 if(!ctx->tls.ossl.ssl) { in cf_osslq_adjust_pollset()
2239 SSL_net_read_desired(ctx->tls.ossl.ssl), in cf_osslq_adjust_pollset()
2240 SSL_net_write_desired(ctx->tls.ossl.ssl)); in cf_osslq_adjust_pollset()
2249 SSL_net_read_desired(ctx->tls.ossl.ssl), in cf_osslq_adjust_pollset()
2250 SSL_net_write_desired(ctx->tls.ossl.ssl)); in cf_osslq_adjust_pollset()
2270 if(!SSL_get_value_uint(ctx->tls.ossl.ssl, SSL_VALUE_CLASS_GENERIC, in cf_osslq_query()