[#SSL_CTX_get_ssl_method]
= SSL&lowbar;CTX&lowbar;get&lowbar;ssl&lowbar;method
:mrdocs:

Return the SSL&lowbar;METHOD used to create an SSL context&period;

== Synopsis

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

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

== Return Value

Pointer to the context&apos;s SSL&lowbar;METHOD&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context to query&period;
|===


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