gtpc1m5fTransmission Control Protocol/Internet Protocol

SSL_CTX_free

The SSL_CTX_free function returns to the TPF system a context (CTX) structure associated with one or more SSL sessions.

Format

#include <openssl/ssl.h>
void SSL_CTX_free(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

None.

Error Return

None.

Programming Considerations

From the application's perspective, the CTX structure no longer exists after you issue the SSL_CTX_free function. However, the CTX structure is not actually returned to the TPF system until all SSL structures associated with this CTX structure have been returned.

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