summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2020-10-15 07:07:09 +0000
committertb <>2020-10-15 07:07:09 +0000
commit8fd8b5db1b575295bdb9074986cfb4e5e07e9cdf (patch)
tree1931bfa41f105c7726c272988252133ca1d6a1c3 /src
parente60f5a8fe5ed7844d5dc6f1c9dbcf86fce1ae298 (diff)
downloadopenbsd-8fd8b5db1b575295bdb9074986cfb4e5e07e9cdf.tar.gz
openbsd-8fd8b5db1b575295bdb9074986cfb4e5e07e9cdf.tar.bz2
openbsd-8fd8b5db1b575295bdb9074986cfb4e5e07e9cdf.zip
zap annoying stray spaces
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/tls13_record_layer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/tls13_record_layer.c b/src/lib/libssl/tls13_record_layer.c
index e951d39e21..1298f59051 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.54 2020/10/03 17:22:27 jsing Exp $ */ 1/* $OpenBSD: tls13_record_layer.c,v 1.55 2020/10/15 07:07:09 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 *
@@ -798,7 +798,7 @@ tls13_record_layer_read_record(struct tls13_record_layer *rl)
798 if ((rl->rrec = tls13_record_new()) == NULL) 798 if ((rl->rrec = tls13_record_new()) == NULL)
799 goto err; 799 goto err;
800 } 800 }
801 801
802 if ((ret = tls13_record_recv(rl->rrec, rl->cb.wire_read, rl->cb_arg)) <= 0) { 802 if ((ret = tls13_record_recv(rl->rrec, rl->cb.wire_read, rl->cb_arg)) <= 0) {
803 switch (ret) { 803 switch (ret) {
804 case TLS13_IO_RECORD_VERSION: 804 case TLS13_IO_RECORD_VERSION:
@@ -808,11 +808,11 @@ tls13_record_layer_read_record(struct tls13_record_layer *rl)
808 } 808 }
809 return ret; 809 return ret;
810 } 810 }
811 811
812 if (rl->legacy_version == TLS1_2_VERSION && 812 if (rl->legacy_version == TLS1_2_VERSION &&
813 tls13_record_version(rl->rrec) != TLS1_2_VERSION) 813 tls13_record_version(rl->rrec) != TLS1_2_VERSION)
814 return tls13_send_alert(rl, TLS13_ALERT_PROTOCOL_VERSION); 814 return tls13_send_alert(rl, TLS13_ALERT_PROTOCOL_VERSION);
815 815
816 content_type = tls13_record_content_type(rl->rrec); 816 content_type = tls13_record_content_type(rl->rrec);
817 817
818 /* 818 /*