SSL_get0_connection3ssl
Get a quic connection ssl object from a quic stream ssl object
Usage
#include <openssl/ssl.h>SSL *SSL_get0_connection(SSL *ssl);int SSL_is_connection(SSL *ssl);
Overview
The SSL_get0_connection() function, when called on a QUIC stream SSL object, returns the QUIC connection SSL object which the QUIC stream SSL object belongs to.
When called on a QUIC connection SSL object, it returns the same object.
When called on a non-QUIC object, it returns the same object it was passed.
SSL_is_connection() returns 1 for QUIC connection SSL objects and for non-QUIC SSL objects, but returns 0 for QUIC stream SSL objects.
Return values
SSL_get0_connection() returns the QUIC connection SSL object (for a QUIC stream SSL object) and otherwise returns the same SSL object passed. It always returns non-NULL.
SSL_is_connection() returns 1 if the SSL object is not a QUIC stream SSL object and 0 otherwise.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.