gtpc1m65Transmission Control Protocol/Internet Protocol

SSL_renegotiate

The SSL_renegotiate function creates a new set of cipher keys for an existing Secure Sockets Layer (SSL) session.

Format

#include <openssl/ssl.h>
int SSL_renegotiate(SSL *ssl)

ssl
A pointer to a token returned on the SSL_new call

Normal Return

Return code 1 indicates that the function was successful.

Error Return

A return code equal to 0 indicates an error.

Programming Considerations

This function is useful for long-running SSL sessions to create a new set of cipher keys periodically.

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

SSL_new.