5 SSL_CONF_CTX_new, SSL_CONF_CTX_free - SSL configuration allocation functions
9 #include <openssl/ssl.h>
11 SSL_CONF_CTX *SSL_CONF_CTX_new(void);
12 void SSL_CONF_CTX_free(SSL_CONF_CTX *cctx);
16 The function SSL_CONF_CTX_new() allocates and initialises an B<SSL_CONF_CTX>
17 structure for use with the SSL_CONF functions.
19 The function SSL_CONF_CTX_free() frees up the context B<cctx>.
20 If B<cctx> is NULL nothing is done.
24 SSL_CONF_CTX_new() returns either the newly allocated B<SSL_CONF_CTX> structure
25 or B<NULL> if an error occurs.
27 SSL_CONF_CTX_free() does not return a value.
31 L<SSL_CONF_CTX_set_flags(3)>,
32 L<SSL_CONF_CTX_set_ssl_ctx(3)>,
33 L<SSL_CONF_CTX_set1_prefix(3)>,
35 L<SSL_CONF_cmd_argv(3)>
39 These functions were first added to OpenSSL 1.0.2
43 Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
45 Licensed under the OpenSSL license (the "License"). You may not use
46 this file except in compliance with the License. You can obtain a copy
47 in the file LICENSE in the source distribution or at
48 L<https://www.openssl.org/source/license.html>.