gtpc1m5w | Transmission Control Protocol/Internet Protocol |
The SSL_get_session function returns a copy of the Secure Sockets Layer (SSL) session information for a specific SSL structure.
Format
#include <openssl/ssl.h> SSL_SESSION *SSL_get_session(SSL *ssl);
Normal Return
Returns a pointer to an SSL_SESSION structure that contains information about the SSL session.
Error Return
Returns NULL when no SSL session exists.
Programming Considerations
Examples
For sample SSL applications, go to http://www.ibm.com/tpf/pubs/tpfpubs.htm, click SSL for the TPF 4.1 System: An Online User's Guide, and click Examples from the left navigation bar.
Related Information