1SSL_CONF_CTX_set_ssl_ctx(3) OpenSSL SSL_CONF_CTX_set_ssl_ctx(3)
2
3
4
6 SSL_CONF_CTX_set_ssl_ctx, SSL_CONF_CTX_set_ssl - set context to
7 configure
8
10 #include <openssl/ssl.h>
11
12 void SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *cctx, SSL_CTX *ctx);
13 void SSL_CONF_CTX_set_ssl(SSL_CONF_CTX *cctx, SSL *ssl);
14
16 SSL_CONF_CTX_set_ssl_ctx() sets the context associated with cctx to the
17 SSL_CTX structure ctx. Any previous SSL or SSL_CTX associated with cctx
18 is cleared. Subsequent calls to SSL_CONF_cmd() will be sent to ctx.
19
20 SSL_CONF_CTX_set_ssl() sets the context associated with cctx to the SSL
21 structure ssl. Any previous SSL or SSL_CTX associated with cctx is
22 cleared. Subsequent calls to SSL_CONF_cmd() will be sent to ssl.
23
25 The context need not be set or it can be set to NULL in which case only
26 syntax checking of commands is performed, where possible.
27
29 SSL_CONF_CTX_set_ssl_ctx() and SSL_CTX_set_ssl() do not return a value.
30
32 SSL_CONF_CTX_new(3), SSL_CONF_CTX_set_flags(3),
33 SSL_CONF_CTX_set1_prefix(3), SSL_CONF_cmd(3), SSL_CONF_cmd_argv(3)
34
36 These functions were first added to OpenSSL 1.0.2
37
38
39
401.0.2o 2018-03-27 SSL_CONF_CTX_set_ssl_ctx(3)