diff options
Diffstat (limited to 'lib/libssl/tls13_record_layer.c')
-rw-r--r-- | lib/libssl/tls13_record_layer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libssl/tls13_record_layer.c b/lib/libssl/tls13_record_layer.c index 7d882924bc7..b9c85aa07d1 100644 --- a/lib/libssl/tls13_record_layer.c +++ b/lib/libssl/tls13_record_layer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_record_layer.c,v 1.26 2020/01/25 09:20:56 jsing Exp $ */ +/* $OpenBSD: tls13_record_layer.c,v 1.27 2020/01/26 06:31:51 beck Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> * @@ -623,6 +623,9 @@ tls13_record_layer_seal_record_plaintext(struct tls13_record_layer *rl, if (!tls13_record_set_data(rl->wrec, data, data_len)) goto err; + rl->wrec_content_len = content_len; + rl->wrec_content_type = content_type; + return 1; err: |