SSL_CONF_CTX_new.pod 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_CONF_CTX_set_flags(3)>,
  19. L<SSL_CONF_CTX_set_ssl_ctx(3)>,
  20. L<SSL_CONF_CTX_set1_prefix(3)>,
  21. L<SSL_CONF_cmd(3)>,
  22. L<SSL_CONF_cmd_argv(3)>
  23. =head1 HISTORY
  24. These functions were first added to OpenSSL 1.0.2
  25. =head1 COPYRIGHT
  26. Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
  27. Licensed under the OpenSSL license (the "License"). You may not use
  28. this file except in compliance with the License. You can obtain a copy
  29. in the file LICENSE in the source distribution or at
  30. L<https://www.openssl.org/source/license.html>.
  31. =cut