1 =pod 2 3 =head1 NAME 4 5 SSL_get_SSL_CTX - get the SSL_CTX from which an SSL is created 6 7 =head1 SYNOPSIS 8 9 #include <openssl/ssl.h> 10 11 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl); 12 13 =head1 DESCRIPTION 14 15 SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object, from which 16 B<ssl> was created with L<SSL_new(3)>. 17 18 =head1 RETURN VALUES 19 20 The pointer to the SSL_CTX object is returned. 21 22 =head1 SEE ALSO 23 24 L<ssl(7)>, L<SSL_new(3)> 25 26 =head1 COPYRIGHT 27 28 Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved. 29 30 Licensed under the Apache License 2.0 (the "License"). You may not use 31 this file except in compliance with the License. You can obtain a copy 32 in the file LICENSE in the source distribution or at 33 L<https://www.openssl.org/source/license.html>. 34 35 =cut 36