summaryrefslogtreecommitdiffstats
path: root/ssl/record/methods/ssl3_meth.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-09-26 16:35:30 +0100
committerMatt Caswell <matt@openssl.org>2022-10-12 15:53:31 +0100
commit91fe8ff02a323eddb0404f975d5c9a03c024593b (patch)
tree1d93eea245d45d9a627df53368b470a399b34ac9 /ssl/record/methods/ssl3_meth.c
parentf93c0f546423eab65be3bc50a8cdfc3d5eb6b2e1 (diff)
Defer write buffer and WPACKET allocation/initialisation to protocol code
We move some protocol specific code for write buffer and WPACKET allocation and initialisation out of tls_common.c and into the protocol specific files. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19343)
Diffstat (limited to 'ssl/record/methods/ssl3_meth.c')
-rw-r--r--ssl/record/methods/ssl3_meth.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssl/record/methods/ssl3_meth.c b/ssl/record/methods/ssl3_meth.c
index e48ca5bc70..23a27ee889 100644
--- a/ssl/record/methods/ssl3_meth.c
+++ b/ssl/record/methods/ssl3_meth.c
@@ -310,5 +310,8 @@ struct record_functions_st ssl_3_0_funcs = {
tls_default_validate_record_header,
tls_default_post_process_record,
tls_get_max_records_default,
- tls_write_records_default
+ tls_write_records_default,
+ /* These 2 functions are defined in tls1_meth.c */
+ tls1_allocate_write_buffers,
+ tls1_initialise_write_packets
};