Lines Matching refs:tls
290 SSL *tls = NULL; in port_new_handshake_layer() local
293 tls = ossl_ssl_connection_new_int(port->channel_ctx, NULL, TLS_method()); in port_new_handshake_layer()
294 if (tls == NULL || (tls_conn = SSL_CONNECTION_FROM_SSL(tls)) == NULL) in port_new_handshake_layer()
303 return tls; in port_new_handshake_layer()
306 static QUIC_CHANNEL *port_make_channel(QUIC_PORT *port, SSL *tls, int is_server) in port_make_channel() argument
313 args.tls = (tls != NULL ? tls : port_new_handshake_layer(port)); in port_make_channel()
316 if (args.tls == NULL) in port_make_channel()
321 args.qlog_title = args.tls->ctx->qlog_title; in port_make_channel()
326 if (tls == NULL) in port_make_channel()
327 SSL_free(args.tls); in port_make_channel()
335 QUIC_CHANNEL *ossl_quic_port_create_outgoing(QUIC_PORT *port, SSL *tls) in ossl_quic_port_create_outgoing() argument
337 return port_make_channel(port, tls, /*is_server=*/0); in ossl_quic_port_create_outgoing()
340 QUIC_CHANNEL *ossl_quic_port_create_incoming(QUIC_PORT *port, SSL *tls) in ossl_quic_port_create_incoming() argument
346 ch = port_make_channel(port, tls, /*is_server=*/1); in ossl_quic_port_create_incoming()