gtpc1m5i | Transmission Control Protocol/Internet Protocol |
The SSL_CTX_new function creates a new context (CTX) structure for use by one or more Secure Sockets Layer (SSL) sessions that are not shared. Use the SSL_CTX_new_shared function to create a CTX structure for shared SSL sessions.
Format
#include <openssl/ssl.h> SSL_CTX *SSL_CTX_new(SSL_METHOD *meth)
Normal Return
Returns a pointer to the new CTX token.
Error Return
A NULL pointer 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