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

NAME

6       SSL_CONF_CTX_new, SSL_CONF_CTX_free - SSL configuration allocation
7       functions
8

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUES

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

SEE ALSO

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

HISTORY

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 Apache License 2.0 (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
453.0.5                             2022-11-01           SSL_CONF_CTX_NEW(3ossl)
Impressum