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