summaryrefslogtreecommitdiffstats
path: root/ssl/record/methods/tls_common.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-10-21 16:44:08 +0100
committerMatt Caswell <matt@openssl.org>2022-10-27 10:52:52 +0100
commitfba0206da7c0cc68854bb63a6ee9b96a74f4ed7a (patch)
tree06ff11bf275ea035cbf743e58fa57a858080ab66 /ssl/record/methods/tls_common.c
parent7eb39ecb299db3eade11946f9385f5dee1d458d3 (diff)
Remove some unused OSSL_RECORD_METHOD functions
Remove two function pointers from the OSSL_RECORD_METHOD. Those functions were no-ops and were never called. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19472)
Diffstat (limited to 'ssl/record/methods/tls_common.c')
-rw-r--r--ssl/record/methods/tls_common.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ssl/record/methods/tls_common.c b/ssl/record/methods/tls_common.c
index 4ef65ae152..08dfca82e1 100644
--- a/ssl/record/methods/tls_common.c
+++ b/ssl/record/methods/tls_common.c
@@ -1445,16 +1445,6 @@ size_t tls_app_data_pending(OSSL_RECORD_LAYER *rl)
return num;
}
-int tls_write_pending(OSSL_RECORD_LAYER *rl)
-{
- return 0;
-}
-
-size_t tls_get_max_record_len(OSSL_RECORD_LAYER *rl)
-{
- return 0;
-}
-
size_t tls_get_max_records_default(OSSL_RECORD_LAYER *rl, int type, size_t len,
size_t maxfrag, size_t *preffrag)
{
@@ -2098,8 +2088,6 @@ const OSSL_RECORD_METHOD ossl_tls_record_method = {
tls_unprocessed_read_pending,
tls_processed_read_pending,
tls_app_data_pending,
- tls_write_pending,
- tls_get_max_record_len,
tls_get_max_records,
tls_write_records,
tls_retry_write_records,