From cee0628e0d53be82bd644ce258c3d3e90e64eced Mon Sep 17 00:00:00 2001 From: Jairus Christensen Date: Mon, 27 Feb 2023 09:36:15 -0700 Subject: [feat] SSL RTT in both client and server statem. SSL_get_handshake_rtt makes it available Reviewed-by: Tomas Mraz Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/20248) --- include/openssl/ssl.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in index d580c8f19f..bf5ff7c06b 100644 --- a/include/openssl/ssl.h.in +++ b/include/openssl/ssl.h.in @@ -1948,6 +1948,7 @@ __owur int SSL_get_early_data_status(const SSL *s); __owur int SSL_get_error(const SSL *s, int ret_code); __owur const char *SSL_get_version(const SSL *s); +__owur int SSL_get_handshake_rtt(const SSL *s, uint64_t *rtt); /* This sets the 'default' SSL version that SSL_new() will create */ # ifndef OPENSSL_NO_DEPRECATED_3_0 -- cgit v1.2.3