Merge remote-tracking branch 'trevp/pemfix' into trev-pem-fix
[openssl.git] / doc / ssl / SSL_CONF_CTX_new.pod
1 =pod
2
3 =head1 NAME
4
5 SSL_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
16 The function SSL_CONF_CTX_new() allocates and initialises an B<SSL_CONF_CTX>
17 structure for use with the SSL_CONF functions.
18
19 The function SSL_CONF_CTX_free() frees up the context B<cctx>.
20
21 =head1 RETURN VALUES
22
23 SSL_CONF_CTX_new() returns either the newly allocated B<SSL_CONF_CTX> structure
24 or B<NULL> if an error occurs.
25
26 SSL_CONF_CTX_free() does not return a value.
27
28 =head1 SEE ALSO
29
30 L<SSL_CONF_CTX_set_flags(3)|SSL_CONF_CTX_set_flags(3)>,
31 L<SSL_CONF_CTX_set_ssl_ctx(3)|SSL_CONF_CTX_set_ssl_ctx(3)>,
32 L<SSL_CONF_CTX_set1_prefix(3)|SSL_CONF_CTX_set1_prefix(3)>,
33 L<SSL_CONF_cmd(3)|SSL_CONF_cmd(3)>,
34 L<SSL_CONF_cmd_argv(3)|SSL_CONF_cmd_argv(3)>
35
36 =head1 HISTORY
37
38 These functions were first added to OpenSSL 1.0.2
39
40 =cut