[#SSL_get0_peername] = SSL_get0_peername :mrdocs: Return the peer certificate DNS name or subject CN that matched a configured reference identifier. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char const* SSL_get0_peername(xref:SSL.adoc[SSL]* s); ---- == Return Value Matched peer name (library‐owned; invalid after clear/free/renegotiate), or NULL if none / not applicable. == Parameters [cols="1,4"] |=== | Name| Description | *s* | SSL connection after hostname verification. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#