From: Arne Schwabe Date: Tue, 21 Nov 2023 10:40:37 +0000 (+0100) Subject: Remove unused function prototype crypto_adjust_frame_parameters X-Git-Tag: v2.7_alpha1~370 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=66f109117649237947e3e5cd33a36f81bde71a2b;p=thirdparty%2Fopenvpn.git 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 --- diff --git a/src/openvpn/crypto.h b/src/openvpn/crypto.h index c5fd253e0..9255d38af 100644 --- a/src/openvpn/crypto.h +++ b/src/openvpn/crypto.h @@ -429,12 +429,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 *