GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSL_SET_SSL_CTX(3) FreeBSD Library Functions Manual SSL_SET_SSL_CTX(3)

SSL_set_SSL_CTX
modify an SSL connection object to use another context

#include <openssl/ssl.h>

SSL_CTX *
SSL_set_SSL_CTX(SSL *ssl, SSL_CTX* ctx);

SSL_set_SSL_CTX() causes ssl to use the context ctx.

If ctx is NULL, ssl reverts to using the context that it was initially created from with SSL_new(3).

If ssl already uses ctx, no action occurs.

SSL_set_SSL_CTX() returns an internal pointer to the context that ssl is using as a result of the call, or NULL if memory allocation fails.

ssl(3), SSL_clear(3), SSL_CTX_new(3), SSL_get_SSL_CTX(3), SSL_new(3)

SSL_set_SSL_CTX() first appeared in OpenSSL 0.9.8f and has been available since OpenBSD 4.5.
September 22, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.