From 8191edd9cf4fcae6a4e5e054326fdf2e620b353b Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 6 Jun 2026 15:08:15 +0000 Subject: Remove ssl3_handshake_msg_hdr_len() This function is only called in one location, which is always a DTLS context - use DTLS1_HM_HEADER_LENGTH directly instead. ok kenjiro@ tb@ --- src/lib/libssl/ssl_local.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libssl/ssl_local.h') diff --git a/src/lib/libssl/ssl_local.h b/src/lib/libssl/ssl_local.h index d5c218e50d..95913f81a6 100644 --- a/src/lib/libssl/ssl_local.h +++ b/src/lib/libssl/ssl_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_local.h,v 1.40 2026/06/04 12:05:57 tb Exp $ */ +/* $OpenBSD: ssl_local.h,v 1.41 2026/06/06 15:08:15 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1309,7 +1309,6 @@ long ssl3_callback_ctrl(SSL *s, int cmd, void (*fp)(void)); long ssl3_ctx_callback_ctrl(SSL_CTX *s, int cmd, void (*fp)(void)); int ssl3_pending(const SSL *s); -int ssl3_handshake_msg_hdr_len(SSL *s); int ssl3_handshake_msg_start(SSL *s, CBB *handshake, CBB *body, uint8_t msg_type); int ssl3_handshake_msg_finish(SSL *s, CBB *handshake); -- cgit v1.2.3-55-g6feb