SSL_get_SSL_CTX.3ossl - Man Page

get the SSL_CTX from which an SSL is created

Synopsis

 #include <openssl/ssl.h>

 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);

Description

SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object, from which ssl was created with SSL_new(3).

Return Values

The pointer to the SSL_CTX object is returned.

See Also

ssl(7), SSL_new(3)

Referenced By

CURLINFO_TLS_SESSION(3), SSL_new.3ossl(3).

2024-04-04 3.2.1 OpenSSL