summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libssl/tls13_record_layer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/tls13_record_layer.c b/src/lib/libssl/tls13_record_layer.c
index 16a22a841b..6b9be4028c 100644
--- a/src/lib/libssl/tls13_record_layer.c
+++ b/src/lib/libssl/tls13_record_layer.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_record_layer.c,v 1.34 2020/05/07 18:56:09 tb Exp $ */ 1/* $OpenBSD: tls13_record_layer.c,v 1.35 2020/05/09 15:39:18 jsing 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 *
@@ -343,7 +343,7 @@ tls13_record_layer_send_phh(struct tls13_record_layer *rl)
343 343
344 /* Push out pending post-handshake handshake messages. */ 344 /* Push out pending post-handshake handshake messages. */
345 if ((ret = tls13_record_layer_write_chunk(rl, SSL3_RT_HANDSHAKE, 345 if ((ret = tls13_record_layer_write_chunk(rl, SSL3_RT_HANDSHAKE,
346 CBS_data(&rl->phh_cbs), CBS_len(&rl->phh_cbs))) < 0) 346 CBS_data(&rl->phh_cbs), CBS_len(&rl->phh_cbs))) <= 0)
347 return ret; 347 return ret;
348 if (!CBS_skip(&rl->phh_cbs, ret)) 348 if (!CBS_skip(&rl->phh_cbs, ret))
349 return TLS13_IO_FAILURE; 349 return TLS13_IO_FAILURE;