POD: Fix item numbering
[openssl.git] / doc / ssl / SSL_CONF_CTX_set_ssl_ctx.pod
1 =pod
2
3 =head1 NAME
4
5 SSL_CONF_CTX_set_ssl_ctx, SSL_CONF_CTX_set_ssl - set context to configure
6
7 =head1 SYNOPSIS
8
9  #include <openssl/ssl.h>
10
11  void SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *cctx, SSL_CTX *ctx);
12  void SSL_CONF_CTX_set_ssl(SSL_CONF_CTX *cctx, SSL *ssl);
13
14 =head1 DESCRIPTION
15
16 SSL_CONF_CTX_set_ssl_ctx() sets the context associated with B<cctx> to the
17 B<SSL_CTX> structure B<ctx>. Any previos B<SSL> or B<SSL_CTX> associated with
18 B<cctx> is cleared. Subsequent calls to SSL_CONF_cmd() will be sent to
19 B<ctx>.
20
21 SSL_CONF_CTX_set_ssl() sets the context associated with B<cctx> to the
22 B<SSL> structure B<ssl>. Any previos B<SSL> or B<SSL_CTX> associated with
23 B<cctx> is cleared. Subsequent calls to SSL_CONF_cmd() will be sent to
24 B<ssl>.
25
26 =head1 NOTES
27
28 The context need not be set or it can be set to B<NULL> in which case only
29 syntax checking of commands is performed, where possible.
30
31 =head1 RETURN VALUES
32
33 SSL_CONF_CTX_set_ssl_ctx() and SSL_CTX_set_ssl() do not return a value.
34
35 =head1 SEE ALSO
36
37 L<SSL_CONF_CTX_new(3)|SSL_CONF_CTX_new(3)>,
38 L<SSL_CONF_CTX_set_flags(3)|SSL_CONF_CTX_set_flags(3)>,
39 L<SSL_CONF_CTX_set1_prefix(3)|SSL_CONF_CTX_set1_prefix(3)>,
40 L<SSL_CONF_cmd(3)|SSL_CONF_cmd(3)>,
41 L<SSL_CONF_cmd_argv(3)|SSL_CONF_cmd_argv(3)>
42
43 =head1 HISTORY
44
45 These functions were first added to OpenSSL 1.0.2
46
47 =cut