From fbb23402e63e54d6d2231406a88302014f0c6ca6 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Tue, 7 Jul 2020 19:31:11 +0000 Subject: Remove some unnecessary function pointers from SSL_METHOD_INTERNAL. ssl_version is completely unused and get_timeout is the same everywhere. ok beck@ inoguchi@ tb@ --- src/lib/libssl/d1_lib.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/lib/libssl/d1_lib.c') diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index b7ba6b1092..1f818307d1 100644 --- a/src/lib/libssl/d1_lib.c +++ b/src/lib/libssl/d1_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_lib.c,v 1.45 2020/03/12 17:01:53 jsing Exp $ */ +/* $OpenBSD: d1_lib.c,v 1.46 2020/07/07 19:31:11 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -76,14 +76,6 @@ SSL3_ENC_METHOD DTLSv1_enc_data = { .enc_flags = SSL_ENC_FLAG_EXPLICIT_IV, }; -long -dtls1_default_timeout(void) -{ - /* 2 hours, the 24 hours mentioned in the DTLSv1 spec - * is way too long for http, the cache would over fill */ - return (60*60*2); -} - int dtls1_new(SSL *s) { -- cgit v1.2.3-55-g6feb