[#SSL_CTX_dane_set_flags]
= SSL&lowbar;CTX&lowbar;dane&lowbar;set&lowbar;flags
:mrdocs:

Set selected DANE option flags on an SSL&lowbar;CTX&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned long
SSL&lowbar;CTX&lowbar;dane&lowbar;set&lowbar;flags(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    unsigned long flags);
----

== Return Value

The resulting DANE flag mask after setting&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose DANE flags are updated&period;
| *flags*
| DANE flag bits to set (for example DANE&lowbar;FLAG&lowbar;NO&lowbar;DANE&lowbar;EE&lowbar;NAMECHECKS)&period;
|===


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