Creates a new SSL_CTX object as framework to establish TLS/SSL or DTLS enabled connections.
The object must be freed using SSL_CTX_free. It is reference counted, so it will only be deleted when the reference count drops to zero.
the SSL/TLS connection methods to use
an allocated SSL_CTX object, or null if creation failed.
See Implementation
Creates a new SSL_CTX object as framework to establish TLS/SSL or DTLS enabled connections.
The object must be freed using SSL_CTX_free. It is reference counted, so it will only be deleted when the reference count drops to zero.