summaryrefslogtreecommitdiffstats
path: root/ssl/t1_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-04-18 08:57:32 +0100
committerMatt Caswell <matt@openssl.org>2022-08-18 16:38:12 +0100
commitaedbb71b6334a6cb616cf31cbb5de02109a2c5ed (patch)
tree53b3c40066e4fbb71198bd02963e4305e54c1fb1 /ssl/t1_lib.c
parent4030869d24309bfb5292e7bec41cd2b3012ba99d (diff)
Move the TLS1.0/1.1/1.2 record crypto code into the new record layer
Only done for the read side so far. Still need to do TLS1.3 and SSL3.0. Also need to separate out KTLS. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18132)
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r--ssl/t1_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index cb1e4055ec..10e11125b8 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -31,7 +31,7 @@ static int tls12_sigalg_allowed(const SSL_CONNECTION *s, int op, const SIGALG_LO
SSL3_ENC_METHOD const TLSv1_enc_data = {
tls1_enc,
- tls1_mac,
+ tls1_mac_old,
tls1_setup_key_block,
tls1_generate_master_secret,
tls1_change_cipher_state,
@@ -48,7 +48,7 @@ SSL3_ENC_METHOD const TLSv1_enc_data = {
SSL3_ENC_METHOD const TLSv1_1_enc_data = {
tls1_enc,
- tls1_mac,
+ tls1_mac_old,
tls1_setup_key_block,
tls1_generate_master_secret,
tls1_change_cipher_state,
@@ -65,7 +65,7 @@ SSL3_ENC_METHOD const TLSv1_1_enc_data = {
SSL3_ENC_METHOD const TLSv1_2_enc_data = {
tls1_enc,
- tls1_mac,
+ tls1_mac_old,
tls1_setup_key_block,
tls1_generate_master_secret,
tls1_change_cipher_state,
@@ -83,7 +83,7 @@ SSL3_ENC_METHOD const TLSv1_2_enc_data = {
SSL3_ENC_METHOD const TLSv1_3_enc_data = {
tls13_enc,
- tls1_mac,
+ tls1_mac_old,
tls13_setup_key_block,
tls13_generate_master_secret,
tls13_change_cipher_state,