xref: /onnv-gate/usr/src/common/openssl/doc/ssl/SSL_get_SSL_CTX.pod (revision 2175:b0b2f052a486)
1*2175Sjp161948=pod
2*2175Sjp161948
3*2175Sjp161948=head1 NAME
4*2175Sjp161948
5*2175Sjp161948SSL_get_SSL_CTX - get the SSL_CTX from which an SSL is created
6*2175Sjp161948
7*2175Sjp161948=head1 SYNOPSIS
8*2175Sjp161948
9*2175Sjp161948 #include <openssl/ssl.h>
10*2175Sjp161948
11*2175Sjp161948 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
12*2175Sjp161948
13*2175Sjp161948=head1 DESCRIPTION
14*2175Sjp161948
15*2175Sjp161948SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object, from which
16*2175Sjp161948B<ssl> was created with L<SSL_new(3)|SSL_new(3)>.
17*2175Sjp161948
18*2175Sjp161948=head1 RETURN VALUES
19*2175Sjp161948
20*2175Sjp161948The pointer to the SSL_CTX object is returned.
21*2175Sjp161948
22*2175Sjp161948=head1 SEE ALSO
23*2175Sjp161948
24*2175Sjp161948L<ssl(3)|ssl(3)>, L<SSL_new(3)|SSL_new(3)>
25*2175Sjp161948
26*2175Sjp161948=cut
27