summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/tls13_handshake.c')
-rw-r--r--src/lib/libssl/tls13_handshake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c
index 55fefe544f..310a2116b8 100644
--- a/src/lib/libssl/tls13_handshake.c
+++ b/src/lib/libssl/tls13_handshake.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_handshake.c,v 1.68 2021/06/28 18:48:56 tb Exp $ */ 1/* $OpenBSD: tls13_handshake.c,v 1.69 2021/07/01 17:53:39 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2018-2021 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2018-2021 Theo Buehler <tb@openbsd.org>
4 * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2019 Joel Sing <jsing@openbsd.org>
@@ -535,7 +535,7 @@ tls13_handshake_recv_action(struct tls13_ctx *ctx,
535 tls13_handshake_msg_free(ctx->hs_msg); 535 tls13_handshake_msg_free(ctx->hs_msg);
536 ctx->hs_msg = NULL; 536 ctx->hs_msg = NULL;
537 537
538 if (ctx->ssl->method->internal->version < TLS1_3_VERSION) 538 if (ctx->ssl->method->version < TLS1_3_VERSION)
539 return TLS13_IO_USE_LEGACY; 539 return TLS13_IO_USE_LEGACY;
540 540
541 return ret; 541 return ret;