1 .\" $OpenBSD: SSL_num_renegotiations.3,v 1.3 2017/07/05 11:43:09 schwarze Exp $
3 .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: July 5 2017 $
18 .Dt SSL_NUM_RENEGOTIATIONS 3
21 .Nm SSL_num_renegotiations ,
22 .Nm SSL_clear_num_renegotiations ,
23 .Nm SSL_total_renegotiations
24 .Nd renegotiation counters
28 .Fo SSL_num_renegotiations
32 .Fo SSL_clear_num_renegotiations
36 .Fo SSL_total_renegotiations
40 .Fn SSL_num_renegotiations
41 reports the number of renegotiations initiated in
47 .Fn SSL_clear_num_renegotiations
48 was last called on that object.
50 .Fn SSL_clear_num_renegotiations
51 does the same and additionally resets the renegotiation counter to 0.
53 .Fn SSL_total_renegotiations
54 reports the number of renegotiations initiated in
60 was last called on that object.
62 These functions are implemented as macros.
64 All these functions return a number of renegotiations.
66 .Xr BIO_set_ssl_renegotiate_bytes 3 ,
69 .Xr SSL_renegotiate 3 ,
72 These functions are available in all versions of OpenSSL.