diff options
author | jsing <> | 2020-07-07 19:31:11 +0000 |
---|---|---|
committer | jsing <> | 2020-07-07 19:31:11 +0000 |
commit | fbb23402e63e54d6d2231406a88302014f0c6ca6 (patch) | |
tree | 1085279d989b13f602e3533c7b4f7b4447017733 /src/lib/libssl/d1_lib.c | |
parent | a61f9f14c0b9e8d1dff514c4937c7c2167ebb243 (diff) | |
download | openbsd-fbb23402e63e54d6d2231406a88302014f0c6ca6.tar.gz openbsd-fbb23402e63e54d6d2231406a88302014f0c6ca6.tar.bz2 openbsd-fbb23402e63e54d6d2231406a88302014f0c6ca6.zip |
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@
Diffstat (limited to 'src/lib/libssl/d1_lib.c')
-rw-r--r-- | src/lib/libssl/d1_lib.c | 10 |
1 files changed, 1 insertions, 9 deletions
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 @@ | |||
1 | /* $OpenBSD: d1_lib.c,v 1.45 2020/03/12 17:01:53 jsing Exp $ */ | 1 | /* $OpenBSD: d1_lib.c,v 1.46 2020/07/07 19:31:11 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -76,14 +76,6 @@ SSL3_ENC_METHOD DTLSv1_enc_data = { | |||
76 | .enc_flags = SSL_ENC_FLAG_EXPLICIT_IV, | 76 | .enc_flags = SSL_ENC_FLAG_EXPLICIT_IV, |
77 | }; | 77 | }; |
78 | 78 | ||
79 | long | ||
80 | dtls1_default_timeout(void) | ||
81 | { | ||
82 | /* 2 hours, the 24 hours mentioned in the DTLSv1 spec | ||
83 | * is way too long for http, the cache would over fill */ | ||
84 | return (60*60*2); | ||
85 | } | ||
86 | |||
87 | int | 79 | int |
88 | dtls1_new(SSL *s) | 80 | dtls1_new(SSL *s) |
89 | { | 81 | { |