SSL_CONF_CTX_new.pod 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. =pod
  2. =head1 NAME
  3. SSL_CONF_CTX_new, SSL_CONF_CTX_free - SSL configuration allocation functions
  4. =head1 SYNOPSIS
  5. #include <openssl/ssl.h>
  6. SSL_CONF_CTX *SSL_CONF_CTX_new(void);
  7. void SSL_CONF_CTX_free(SSL_CONF_CTX *cctx);
  8. =head1 DESCRIPTION
  9. The function SSL_CONF_CTX_new() allocates and initialises an B<SSL_CONF_CTX>
  10. structure for use with the SSL_CONF functions.
  11. The function SSL_CONF_CTX_free() frees up the context B<cctx>.
  12. If B<cctx> is NULL nothing is done.
  13. =head1 RETURN VALUES
  14. SSL_CONF_CTX_new() returns either the newly allocated B<SSL_CONF_CTX> structure
  15. or B<NULL> if an error occurs.
  16. SSL_CONF_CTX_free() does not return a value.
  17. =head1 SEE ALSO
  18. L<ssl(7)>,
  19. L<SSL_CONF_CTX_set_flags(3)>,
  20. L<SSL_CONF_CTX_set_ssl_ctx(3)>,
  21. L<SSL_CONF_CTX_set1_prefix(3)>,
  22. L<SSL_CONF_cmd(3)>,
  23. L<SSL_CONF_cmd_argv(3)>
  24. =head1 HISTORY
  25. These functions were added in OpenSSL 1.0.2.
  26. =head1 COPYRIGHT
  27. Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
  28. Licensed under the Apache License 2.0 (the "License"). You may not use
  29. this file except in compliance with the License. You can obtain a copy
  30. in the file LICENSE in the source distribution or at
  31. L<https://www.openssl.org/source/license.html>.
  32. =cut