SSL_CONF_CTX_set_ssl_ctx.pod 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. =pod
  2. =head1 NAME
  3. SSL_CONF_CTX_set_ssl_ctx, SSL_CONF_CTX_set_ssl - set context to configure
  4. =head1 SYNOPSIS
  5. #include <openssl/ssl.h>
  6. void SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *cctx, SSL_CTX *ctx);
  7. void SSL_CONF_CTX_set_ssl(SSL_CONF_CTX *cctx, SSL *ssl);
  8. =head1 DESCRIPTION
  9. SSL_CONF_CTX_set_ssl_ctx() sets the context associated with B<cctx> to the
  10. B<SSL_CTX> structure B<ctx>. Any previous B<SSL> or B<SSL_CTX> associated with
  11. B<cctx> is cleared. Subsequent calls to SSL_CONF_cmd() will be sent to
  12. B<ctx>.
  13. SSL_CONF_CTX_set_ssl() sets the context associated with B<cctx> to the
  14. B<SSL> structure B<ssl>. Any previous B<SSL> or B<SSL_CTX> associated with
  15. B<cctx> is cleared. Subsequent calls to SSL_CONF_cmd() will be sent to
  16. B<ssl>.
  17. =head1 NOTES
  18. The context need not be set or it can be set to B<NULL> in which case only
  19. syntax checking of commands is performed, where possible.
  20. =head1 RETURN VALUES
  21. SSL_CONF_CTX_set_ssl_ctx() and SSL_CTX_set_ssl() do not return a value.
  22. =head1 SEE ALSO
  23. L<SSL_CONF_CTX_new(3)>,
  24. L<SSL_CONF_CTX_set_flags(3)>,
  25. L<SSL_CONF_CTX_set1_prefix(3)>,
  26. L<SSL_CONF_cmd(3)>,
  27. L<SSL_CONF_cmd_argv(3)>
  28. =head1 HISTORY
  29. These functions were first added to OpenSSL 1.0.2
  30. =head1 COPYRIGHT
  31. Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
  32. Licensed under the OpenSSL license (the "License"). You may not use
  33. this file except in compliance with the License. You can obtain a copy
  34. in the file LICENSE in the source distribution or at
  35. L<https://www.openssl.org/source/license.html>.
  36. =cut