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

Create an SSL&lowbar;CTX using an explicit library context and property query&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&lowbar;ex(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    char const* propq,
    xref:SSL_METHOD.adoc[SSL&lowbar;METHOD] const* meth);
----

== Return Value

New SSL&lowbar;CTX on success, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context for algorithm fetches, or NULL for the default&period;
| *propq*
| Property query string for algorithm fetches, or NULL&period;
| *meth*
| Connection method (e&period;g&period; TLS&lowbar;method()) that selects protocol roles&period;
|===


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