SSL_NUM_RENEGOTIATIONS(3)

πŸ“¦ version 4.1.0, in opensuse-leap 16.0

πŸ’… SSL_NUM_RENEGOTIATIONS(3) β€” Library Functions Manual

okay bestie, we’re diving into renegotiation counters. It’s giving very specific, very useful, very β€œtrust me, you need the exact number” energy. πŸ’–

🌸 NAME

SSL_num_renegotiations, SSL_clear_num_renegotiations, SSL_total_renegotiations β€” renegotiation counters ✨

✨ SYNOPSIS ✨

#include <openssl/ssl.h>

long
SSL_num_renegotiations(SSL *ssl);

long
SSL_clear_num_renegotiations(SSL *ssl);

long
SSL_total_renegotiations(SSL *ssl);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so SSL_num_renegotiations() reports the number of renegotiations initiated in ssl since SSL_new(3), SSL_clear(3), or SSL_clear_num_renegotiations() was last called on that object. Basically: β€œhow many since the last reset, bestie?” πŸ’«

SSL_clear_num_renegotiations() does the same and additionally resets the renegotiation counter to 0. So she reports the count and wipes the slate clean. Iconic behavior, honestly. 🧚

SSL_total_renegotiations() 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. Periodt. πŸ’…

πŸ’– RETURN VALUES πŸ’–

All these functions return a number of renegotiations. That’s the whole vibe β€” a number, and it’s about renegotiations. πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

πŸ‘‘ HISTORY πŸ‘‘

These functions first appeared in SSLeay 0.9.0 and have been available since OpenBSD 2.4. lowkey legendary. 🌈


πŸ’œ footer vibes, bestie: this page is from Debian, dated June 12, 2019. That’s a wrap β€” mwah! πŸ«ΆπŸ’‹

πŸ“¦ where this page comes from