[#SSL_add1_host] = SSL_add1_host :mrdocs: Add an additional expected DNS hostname for peer certificate name checks. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_add1_host( xref:SSL.adoc[SSL]* s, char const* hostname); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *s* | Client SSL connection; existing hostnames from SSL_set1_host / SSL_add1_host are retained. | *hostname* | Hostname to add; NULL or empty leaves the list unchanged. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#