[#SSL_CTX_set_security_level]
= SSL&lowbar;CTX&lowbar;set&lowbar;security&lowbar;level
:mrdocs:

Set the security level used to constrain algorithms and parameters on an SSL context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SSL&lowbar;CTX&lowbar;set&lowbar;security&lowbar;level(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    int level);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose new connections inherit `level&period;`
| *level*
| Security level (typically 0–5)&semi; see SSL&lowbar;CTX&lowbar;set&lowbar;security&lowbar;level(3)&period;
|===


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