xref: /openssl/doc/man3/SSL_get_SSL_CTX.pod (revision 4746f25a)
1=pod
2
3=head1 NAME
4
5SSL_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
15SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object, from which
16B<ssl> was created with L<SSL_new(3)>.
17
18=head1 RETURN VALUES
19
20The pointer to the SSL_CTX object is returned.
21
22=head1 SEE ALSO
23
24L<ssl(7)>, L<SSL_new(3)>
25
26=head1 COPYRIGHT
27
28Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
29
30Licensed under the Apache License 2.0 (the "License").  You may not use
31this file except in compliance with the License.  You can obtain a copy
32in the file LICENSE in the source distribution or at
33L<https://www.openssl.org/source/license.html>.
34
35=cut
36