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/ssl_locl.h | |
| 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 'src/lib/libssl/ssl_locl.h')
| -rw-r--r-- | src/lib/libssl/ssl_locl.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index f7a8b0786d..4faf0f245f 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_locl.h,v 1.281 2020/07/07 19:24:23 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.282 2020/07/07 19:31:11 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -385,9 +385,6 @@ typedef struct ssl_method_internal_st { | |||
| 385 | 385 | ||
| 386 | const struct ssl_method_st *(*get_ssl_method)(int version); | 386 | const struct ssl_method_st *(*get_ssl_method)(int version); |
| 387 | 387 | ||
| 388 | long (*get_timeout)(void); | ||
| 389 | int (*ssl_version)(void); | ||
| 390 | |||
| 391 | struct ssl3_enc_method *ssl3_enc; /* Extra SSLv3/TLS stuff */ | 388 | struct ssl3_enc_method *ssl3_enc; /* Extra SSLv3/TLS stuff */ |
| 392 | } SSL_METHOD_INTERNAL; | 389 | } SSL_METHOD_INTERNAL; |
| 393 | 390 | ||
| @@ -1226,7 +1223,6 @@ int ssl3_record_write(SSL *s, int type); | |||
| 1226 | void tls1_record_sequence_increment(unsigned char *seq); | 1223 | void tls1_record_sequence_increment(unsigned char *seq); |
| 1227 | int ssl3_do_change_cipher_spec(SSL *ssl); | 1224 | int ssl3_do_change_cipher_spec(SSL *ssl); |
| 1228 | 1225 | ||
| 1229 | long tls1_default_timeout(void); | ||
| 1230 | int dtls1_do_write(SSL *s, int type); | 1226 | int dtls1_do_write(SSL *s, int type); |
| 1231 | int ssl3_packet_read(SSL *s, int plen); | 1227 | int ssl3_packet_read(SSL *s, int plen); |
| 1232 | int ssl3_packet_extend(SSL *s, int plen); | 1228 | int ssl3_packet_extend(SSL *s, int plen); |
| @@ -1256,7 +1252,6 @@ void dtls1_get_ccs_header(unsigned char *data, struct ccs_header_st *ccs_hdr); | |||
| 1256 | void dtls1_reset_seq_numbers(SSL *s, int rw); | 1252 | void dtls1_reset_seq_numbers(SSL *s, int rw); |
| 1257 | void dtls1_build_sequence_number(unsigned char *dst, unsigned char *seq, | 1253 | void dtls1_build_sequence_number(unsigned char *dst, unsigned char *seq, |
| 1258 | unsigned short epoch); | 1254 | unsigned short epoch); |
| 1259 | long dtls1_default_timeout(void); | ||
| 1260 | struct timeval* dtls1_get_timeout(SSL *s, struct timeval* timeleft); | 1255 | struct timeval* dtls1_get_timeout(SSL *s, struct timeval* timeleft); |
| 1261 | int dtls1_check_timeout_num(SSL *s); | 1256 | int dtls1_check_timeout_num(SSL *s); |
| 1262 | int dtls1_handle_timeout(SSL *s); | 1257 | int dtls1_handle_timeout(SSL *s); |
