From d25b408db680be0ffc357126cc421231b880f18b Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 21 Nov 2023 11:40:37 +0100 Subject: [PATCH] Remove unused function prototype crypto_adjust_frame_parameters Change-Id: I1141eb7740d8900ed4af0ff5ff52aa3659df99aa Acked-by: Frank Lichtenheld Message-Id: <20231121104037.15307-1-frank@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27524.html Signed-off-by: Gert Doering (cherry picked from commit 66f109117649237947e3e5cd33a36f81bde71a2b) --- src/openvpn/crypto.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/openvpn/crypto.h b/src/openvpn/crypto.h index 229a4eb1cde..846a7258d94 100644 --- a/src/openvpn/crypto.h +++ b/src/openvpn/crypto.h @@ -433,12 +433,6 @@ bool crypto_check_replay(struct crypto_options *opt, struct gc_arena *gc); -/** Calculate crypto overhead and adjust frame to account for that */ -void crypto_adjust_frame_parameters(struct frame *frame, - const struct key_type *kt, - bool packet_id, - bool packet_id_long_form); - /** Calculate the maximum overhead that our encryption has * on a packet. This does not include needed additional buffer size *