1SSL_CONF_CTX_NEW(3) OpenSSL SSL_CONF_CTX_NEW(3)
2
3
4
6 SSL_CONF_CTX_new, SSL_CONF_CTX_free - SSL configuration allocation
7 functions
8
10 #include <openssl/ssl.h>
11
12 SSL_CONF_CTX *SSL_CONF_CTX_new(void);
13 void SSL_CONF_CTX_free(SSL_CONF_CTX *cctx);
14
16 The function SSL_CONF_CTX_new() allocates and initialises an
17 SSL_CONF_CTX structure for use with the SSL_CONF functions.
18
19 The function SSL_CONF_CTX_free() frees up the context cctx. If cctx is
20 NULL nothing is done.
21
23 SSL_CONF_CTX_new() returns either the newly allocated SSL_CONF_CTX
24 structure or NULL if an error occurs.
25
26 SSL_CONF_CTX_free() does not return a value.
27
29 SSL_CONF_CTX_set_flags(3), SSL_CONF_CTX_set_ssl_ctx(3),
30 SSL_CONF_CTX_set1_prefix(3), SSL_CONF_cmd(3), SSL_CONF_cmd_argv(3)
31
33 These functions were added in OpenSSL 1.0.2.
34
36 Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
37
38 Licensed under the OpenSSL license (the "License"). You may not use
39 this file except in compliance with the License. You can obtain a copy
40 in the file LICENSE in the source distribution or at
41 <https://www.openssl.org/source/license.html>.
42
43
44
451.1.1q 2023-02-06 SSL_CONF_CTX_NEW(3)