summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-03-10 17:15:02 +0000
committerjsing <jsing@openbsd.org>2020-03-10 17:15:02 +0000
commita097d0da207559973c36b30258594daaab125e1b (patch)
tree15c78c2d2f128330c4fad186d042d729f4f8ac4a /lib/libssl/tls13_handshake.c
parentAdd a return value check to tls13_buffer_extend(). (diff)
downloadwireguard-openbsd-a097d0da207559973c36b30258594daaab125e1b.tar.xz
wireguard-openbsd-a097d0da207559973c36b30258594daaab125e1b.zip
Remove some unnecessary handshake enums/functions.
Both session tickets and key updates are post-handshake handshake messages, which were originally included in the handshake code. ok inoguchi@ tb@
Diffstat (limited to 'lib/libssl/tls13_handshake.c')
-rw-r--r--lib/libssl/tls13_handshake.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libssl/tls13_handshake.c b/lib/libssl/tls13_handshake.c
index 677fca3cf30..51585d31bab 100644
--- a/lib/libssl/tls13_handshake.c
+++ b/lib/libssl/tls13_handshake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_handshake.c,v 1.51 2020/02/05 16:42:29 jsing Exp $ */
+/* $OpenBSD: tls13_handshake.c,v 1.52 2020/03/10 17:15:02 jsing Exp $ */
/*
* Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Joel Sing <jsing@openbsd.org>
@@ -89,12 +89,6 @@ struct tls13_handshake_action state_machine[] = {
.sent = tls13_client_finished_sent,
.recv = tls13_client_finished_recv,
},
- [CLIENT_KEY_UPDATE] = {
- .handshake_type = TLS13_MT_KEY_UPDATE,
- .sender = TLS13_HS_CLIENT,
- .send = tls13_client_key_update_send,
- .recv = tls13_client_key_update_recv,
- },
[SERVER_HELLO] = {
.handshake_type = TLS13_MT_SERVER_HELLO,
.sender = TLS13_HS_SERVER,