gtpc1m69 | Transmission Control Protocol/Internet Protocol |
The SSL_set_session function sets up Secure Sockets Layer (SSL) session information for use by the SSL_connect function when reusing an SSL session.
Format
#include <openssl/ssl.h> int SSL_set_session(SSL *ssl, SSL_SESSION *session);
Normal Return
Return code 1 indicates that the function was successful.
Error Return
A return code equal to 0 indicates an error.
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