[#SSL_CTX_dane_enable]
= SSL&lowbar;CTX&lowbar;dane&lowbar;enable
:mrdocs:

Initialize shared DANE TLSA authentication state on an SSL context&period;

== Synopsis

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

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

== Return Value

Positive value on success, 0 for invalid usage, or a negative value on resource failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Client SSL context that will create DANE&hyphen;enabled SSL connections&period;
|===


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