DOKK / manpages / debian 12 / libssl-doc / SSL_get_SSL_CTX.3ssl.en
SSL_GET_SSL_CTX(3SSL) OpenSSL SSL_GET_SSL_CTX(3SSL)

SSL_get_SSL_CTX - get the SSL_CTX from which an SSL is created

 #include <openssl/ssl.h>
 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);

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

The pointer to the SSL_CTX object is returned.

ssl(7), SSL_new(3)

Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.

2023-10-23 3.0.11