diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/tls13_record_layer.c | 8 |
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 | /* |
