[#SSL_dane_enable] = SSL_dane_enable :mrdocs: Enable DANE TLSA authentication for a connection (must be called before the handshake). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_dane_enable( xref:SSL.adoc[SSL]* s, char const* basedomain); ---- == Return Value Positive value on success, 0 on invalid usage, or a negative value on resource failure. == Parameters [cols="1,4"] |=== | Name| Description | *s* | SSL connection associated with a DANE‐enabled SSL_CTX. | *basedomain* | Base domain name used for DANE name checks / TLSA lookup context. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#