diff options
| author | jsing <> | 2020-07-07 19:31:11 +0000 |
|---|---|---|
| committer | jsing <> | 2020-07-07 19:31:11 +0000 |
| commit | af06ca6427e355a07e5ee9751f9d0ef96f73e5a7 (patch) | |
| tree | 1085279d989b13f602e3533c7b4f7b4447017733 /src/lib/libssl/d1_lib.c | |
| parent | c4b64f051678a521c080a0715d1052aeb6286d7e (diff) | |
| download | openbsd-af06ca6427e355a07e5ee9751f9d0ef96f73e5a7.tar.gz openbsd-af06ca6427e355a07e5ee9751f9d0ef96f73e5a7.tar.bz2 openbsd-af06ca6427e355a07e5ee9751f9d0ef96f73e5a7.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 '')
| -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 | { |
