summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/tls13_legacy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libssl/tls13_legacy.c b/src/lib/libssl/tls13_legacy.c
index a26afeeeb9..e9e17293e1 100644
--- a/src/lib/libssl/tls13_legacy.c
+++ b/src/lib/libssl/tls13_legacy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_legacy.c,v 1.14 2020/10/07 07:46:18 jsing Exp $ */ 1/* $OpenBSD: tls13_legacy.c,v 1.15 2020/10/07 10:14:45 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -321,8 +321,7 @@ tls13_use_legacy_stack(struct tls13_ctx *ctx)
321 goto err; 321 goto err;
322 if (!CBB_add_u16_length_prefixed(&cbb, &fragment)) 322 if (!CBB_add_u16_length_prefixed(&cbb, &fragment))
323 goto err; 323 goto err;
324 if (!CBB_add_bytes(&fragment, CBS_data(&cbs), 324 if (!CBB_add_bytes(&fragment, CBS_data(&cbs), CBS_len(&cbs)))
325 CBS_len(&cbs)))
326 goto err; 325 goto err;
327 if (!CBB_finish(&cbb, NULL, NULL)) 326 if (!CBB_finish(&cbb, NULL, NULL))
328 goto err; 327 goto err;