1SSL_CONF_CTX_SET_SSL_CTX(3ossl)     OpenSSL    SSL_CONF_CTX_SET_SSL_CTX(3ossl)
2
3
4

NAME

6       SSL_CONF_CTX_set_ssl_ctx, SSL_CONF_CTX_set_ssl - set context to
7       configure
8

SYNOPSIS

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

DESCRIPTION

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

NOTES

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

RETURN VALUES

29       SSL_CONF_CTX_set_ssl_ctx() and SSL_CTX_set_ssl() do not return a value.
30

SEE ALSO

32       ssl(7), 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

HISTORY

36       These functions were added in OpenSSL 1.0.2.
37
39       Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
40
41       Licensed under the Apache License 2.0 (the "License").  You may not use
42       this file except in compliance with the License.  You can obtain a copy
43       in the file LICENSE in the source distribution or at
44       <https://www.openssl.org/source/license.html>.
45
46
47
483.0.5                             2022-07-05   SSL_CONF_CTX_SET_SSL_CTX(3ossl)
Impressum