gtpc1m62Transmission Control Protocol/Internet Protocol

SSL_new

The SSL_new function creates a new Secure Sockets Layer (SSL) structure for use with an SSL session.

Format

#include <openssl/ssl.h>
SSL *SSL_new(SSL_CTX *ctx)

ctx
A pointer to a token returned on the SSL_CTX_new call or the SSL_CTX_new_shared call.

Normal Return

Returns a token that represents a new SSL structure.

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