[#SSL_get0_peer_certificate] = SSL_get0_peer_certificate :mrdocs: Return the peer's leaf certificate without incrementing its reference count. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509.adoc[X509]* SSL_get0_peer_certificate(xref:SSL.adoc[SSL] const* s); ---- == Return Value Peer X509 (owned by `s;` do not free), or NULL if none is available. == Parameters [cols="1,4"] |=== | Name| Description | *s* | SSL connection after a handshake that presented a certificate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#