summaryrefslogtreecommitdiffstats
path: root/ssl/tls13_enc.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-05-25 17:30:33 +0100
committerMatt Caswell <matt@openssl.org>2022-08-18 16:38:13 +0100
commit8124ab56d4e8985151c5a0c4dca6af128fa89f2c (patch)
treee9029ff83a87bd64746a1d1b02284ad57b7728a6 /ssl/tls13_enc.c
parent6366bdd9be281984d675865ed5467bcf523640c5 (diff)
Remove some final references to the SSL object in the record layer
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/tls13_enc.c')
-rw-r--r--ssl/tls13_enc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/tls13_enc.c b/ssl/tls13_enc.c
index 01461894fe..7e609a4ba2 100644
--- a/ssl/tls13_enc.c
+++ b/ssl/tls13_enc.c
@@ -768,9 +768,9 @@ int tls13_change_cipher_state(SSL_CONNECTION *s, int which)
else
rl_sequence = RECORD_LAYER_get_read_sequence(&s->rlayer);
- if (!ktls_configure_crypto(s, cipher, rl_sequence, &crypto_info,
- which & SSL3_CC_WRITE, iv, ivlen, key, keylen,
- NULL, 0))
+ if (!ktls_configure_crypto(sctx->libctx, s->version, cipher, NULL,
+ rl_sequence, &crypto_info, which & SSL3_CC_WRITE,
+ iv, ivlen, key, keylen, NULL, 0))
goto skip_ktls;
/* ktls works with user provided buffers directly */