summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_local.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-06-02 17:19:23 +0100
committerPauli <pauli@openssl.org>2021-06-04 11:06:08 +1000
commitf570d33b02d824e2a3f676f718c4692572f45333 (patch)
treefcfb7a5fa4caab1bb3787848087bcd21980f9d62 /ssl/ssl_local.h
parentd0196ddcba60a69930d1b1fec579949c8788be34 (diff)
Only call dtls1_start_timer() once
The function dtls1_handle_timeout() calls dtls1_double_timeout() which was calling dtls1_start_timer(). However dtls1_start_timer() is also called directly by dtls1_handle_timeout(). We only need to start the timer once. Fixes #15561 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15595)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r--ssl/ssl_local.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index b222fc6a2d..09413a44fa 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -2567,7 +2567,6 @@ __owur int dtls1_handle_timeout(SSL *s);
void dtls1_start_timer(SSL *s);
void dtls1_stop_timer(SSL *s);
__owur int dtls1_is_timer_expired(SSL *s);
-void dtls1_double_timeout(SSL *s);
__owur int dtls_raw_hello_verify_request(WPACKET *pkt, unsigned char *cookie,
size_t cookie_len);
__owur size_t dtls1_min_mtu(SSL *s);