]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/SSL_CONF_CTX_new.pod
Fix a grammar nit in CRYPTO_get_ex_new_index.pod
[thirdparty/openssl.git] / doc / man3 / SSL_CONF_CTX_new.pod
CommitLineData
3db935a9
DSH
1=pod
2
3=head1 NAME
4
5SSL_CONF_CTX_new, SSL_CONF_CTX_free - SSL configuration allocation functions
6
7=head1 SYNOPSIS
8
9 #include <openssl/ssl.h>
10
11 SSL_CONF_CTX *SSL_CONF_CTX_new(void);
12 void SSL_CONF_CTX_free(SSL_CONF_CTX *cctx);
13
14=head1 DESCRIPTION
15
c7b7984a 16The function SSL_CONF_CTX_new() allocates and initialises an B<SSL_CONF_CTX>
3db935a9
DSH
17structure for use with the SSL_CONF functions.
18
19The function SSL_CONF_CTX_free() frees up the context B<cctx>.
62adbcee 20If B<cctx> is NULL nothing is done.
3db935a9
DSH
21
22=head1 RETURN VALUES
23
24SSL_CONF_CTX_new() returns either the newly allocated B<SSL_CONF_CTX> structure
25or B<NULL> if an error occurs.
26
27SSL_CONF_CTX_free() does not return a value.
28
29=head1 SEE ALSO
30
9b86974e
RS
31L<SSL_CONF_CTX_set_flags(3)>,
32L<SSL_CONF_CTX_set_ssl_ctx(3)>,
33L<SSL_CONF_CTX_set1_prefix(3)>,
34L<SSL_CONF_cmd(3)>,
35L<SSL_CONF_cmd_argv(3)>
3db935a9
DSH
36
37=head1 HISTORY
38
fc5ecadd 39These functions were added in OpenSSL 1.0.2.
3db935a9 40
e2f92610
RS
41=head1 COPYRIGHT
42
43Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
44
4746f25a 45Licensed under the Apache License 2.0 (the "License"). You may not use
e2f92610
RS
46this file except in compliance with the License. You can obtain a copy
47in the file LICENSE in the source distribution or at
48L<https://www.openssl.org/source/license.html>.
49
50=cut