summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-02-07 12:43:02 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-08 16:50:01 +0000
commit01690a7ff36c4d18c48b301cdf375c954105a1d9 (patch)
tree80f5196fc0dd2a5cc27ff6e090f65a938369b210
parent99a5cfc13a0a8b1ebf51d0193ac78f64a48c87e1 (diff)
Minor updates
Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23360)
-rw-r--r--doc/man3/SSL_get_value_uint.pod3
-rw-r--r--include/openssl/ssl.h.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/man3/SSL_get_value_uint.pod b/doc/man3/SSL_get_value_uint.pod
index 4d342ceebb..5502559178 100644
--- a/doc/man3/SSL_get_value_uint.pod
+++ b/doc/man3/SSL_get_value_uint.pod
@@ -130,6 +130,9 @@ milliseconds, where 0 represents a lack of an idle timeout. This feature can
only be configured prior to connection establishment and cannot be subsequently
changed.
+This release of OpenSSL uses a default value of 30 seconds. This default value
+may change between releases of OpenSSL.
+
=item B<SSL_VALUE_QUIC_STREAM_BIDI_LOCAL_AVAIL>
Generic read-only statistical value. The number of bidirectional,
diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in
index 9855a3836c..6b54658b4f 100644
--- a/include/openssl/ssl.h.in
+++ b/include/openssl/ssl.h.in
@@ -2376,7 +2376,7 @@ __owur int SSL_get_conn_close_info(SSL *ssl,
# define SSL_VALUE_QUIC_STREAM_BIDI_REMOTE_AVAIL 2
# define SSL_VALUE_QUIC_STREAM_UNI_LOCAL_AVAIL 3
# define SSL_VALUE_QUIC_STREAM_UNI_REMOTE_AVAIL 4
-# define SSL_VALUE_QUIC_IDLE_TIMEOUT 0x8000
+# define SSL_VALUE_QUIC_IDLE_TIMEOUT 5
int SSL_get_value_uint(SSL *s, uint32_t class_, uint32_t id, uint64_t *v);
int SSL_set_value_uint(SSL *s, uint32_t class_, uint32_t id, uint64_t v);