Create a new SSL_CTX for connections using method meth.

Synopsis

Declared in <openssl/ssl.h>

SSL_CTX*
SSL_CTX_new(SSL_METHOD const* meth);

Return Value

New SSL_CTX, or NULL on failure; free with SSL_CTX_free.

Parameters

Name

Description

meth

Connection method such as TLS_method() or DTLS_method().

Created with MrDocs