5 SSL_CONF_CTX_set_ssl_ctx, SSL_CONF_CTX_set_ssl - set context to configure
9 #include <openssl/ssl.h>
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);
16 SSL_CONF_CTX_set_ssl_ctx() sets the context associated with B<cctx> to the
17 B<SSL_CTX> structure B<ctx>. Any previous B<SSL> or B<SSL_CTX> associated with
18 B<cctx> is cleared. Subsequent calls to SSL_CONF_cmd() will be sent to
21 SSL_CONF_CTX_set_ssl() sets the context associated with B<cctx> to the
22 B<SSL> structure B<ssl>. Any previous B<SSL> or B<SSL_CTX> associated with
23 B<cctx> is cleared. Subsequent calls to SSL_CONF_cmd() will be sent to
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.
33 SSL_CONF_CTX_set_ssl_ctx() and SSL_CTX_set_ssl() do not return a value.
38 L<SSL_CONF_CTX_new(3)>,
39 L<SSL_CONF_CTX_set_flags(3)>,
40 L<SSL_CONF_CTX_set1_prefix(3)>,
42 L<SSL_CONF_cmd_argv(3)>
46 These functions were added in OpenSSL 1.0.2.
50 Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
52 Licensed under the Apache License 2.0 (the "License"). You may not use
53 this file except in compliance with the License. You can obtain a copy
54 in the file LICENSE in the source distribution or at
55 L<https://www.openssl.org/source/license.html>.