[#SSL_get1_session] = SSL_get1_session :mrdocs: Return the current SSL_SESSION for `ssl` with an incremented reference count. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:SSL_SESSION.adoc[SSL_SESSION]* SSL_get1_session(xref:SSL.adoc[SSL]* ssl); ---- == Return Value SSL_SESSION (caller must SSL_SESSION_free()), or NULL if none is available. == Parameters [cols="1,4"] |=== | Name| Description | *ssl* | SSL connection to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#