[#SSL_CTX_new]
= SSL&lowbar;CTX&lowbar;new
:mrdocs:

Create a new SSL&lowbar;CTX for connections using method `meth&period;`

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:SSL_CTX.adoc[SSL&lowbar;CTX]*
SSL&lowbar;CTX&lowbar;new(xref:SSL_METHOD.adoc[SSL&lowbar;METHOD] const* meth);
----

== Return Value

New SSL&lowbar;CTX, or NULL on failure&semi; free with SSL&lowbar;CTX&lowbar;free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *meth*
| Connection method such as TLS&lowbar;method() or DTLS&lowbar;method()&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
