OpenBSD manual page server

Manual Page Search Parameters

SSL_NUM_RENEGOTIATIONS(3) Library Functions Manual SSL_NUM_RENEGOTIATIONS(3)

SSL_num_renegotiations, SSL_clear_num_renegotiations, SSL_total_renegotiationsrenegotiation counters

#include <openssl/ssl.h>

long
SSL_num_renegotiations(SSL *ssl);

long
SSL_clear_num_renegotiations(SSL *ssl);

long
SSL_total_renegotiations(SSL *ssl);

() reports the number of renegotiations initiated in ssl since SSL_new(3), SSL_clear(3), or SSL_clear_num_renegotiations(3) was last called on that object.

() does the same and additionally resets the renegotiation counter to 0.

() reports the number of renegotiations initiated in ssl since SSL_new(3) or SSL_clear(3) was last called on that object.

These functions are implemented as macros.

All these functions return a number of renegotiations.

BIO_set_ssl_renegotiate_bytes(3), SSL_read(3), SSL_renegotiate(3), SSL_write(3)

These functions are available in all versions of OpenSSL.

December 10, 2016 OpenBSD-6.1