From: tb Date: Tue, 19 Apr 2022 17:01:43 +0000 (+0000) Subject: Drop unused KeyUpdate from debug printf X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c79161de4f5c86306cee824983d5cc00020b3cb1;p=openbsd Drop unused KeyUpdate from debug printf The handshake state machine does not handle key updates since that's a post-handshake handshake message. This is code under #ifdef TLS13_DEBUG and if it is ever to be reused in tls13_handshake_msg.c, that will have to be revisited. ok inoguchi jsing --- diff --git a/lib/libssl/tls13_handshake.c b/lib/libssl/tls13_handshake.c index cca8560fc27..c40442fdf97 100644 --- a/lib/libssl/tls13_handshake.c +++ b/lib/libssl/tls13_handshake.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_handshake.c,v 1.70 2021/09/16 19:25:30 jsing Exp $ */ +/* $OpenBSD: tls13_handshake.c,v 1.71 2022/04/19 17:01:43 tb Exp $ */ /* * Copyright (c) 2018-2021 Theo Buehler * Copyright (c) 2019 Joel Sing @@ -291,8 +291,6 @@ tls13_handshake_message_name(uint8_t msg_type) return "CertificateVerify"; case TLS13_MT_FINISHED: return "Finished"; - case TLS13_MT_KEY_UPDATE: - return "KeyUpdate"; } return "Unknown"; }