]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Cleanup receive_auth_failed and simplify method
authorArne Schwabe <arne@rfc2549.org>
Fri, 20 May 2022 21:32:48 +0000 (23:32 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 2 Aug 2022 12:11:23 +0000 (14:11 +0200)
commit88823adebac31958cee83572241cff9fc775a601
treed4ca8e536eb8217bdcfa8f52532a6cbcffddad45
parent4dfd592ff1ee18aa4859264c8a341dfa1a291988
Cleanup receive_auth_failed and simplify method

This simplifies the buffer handling in the method and adds a quick
return instead of wrapping the whole method in a if (pull) block

Patch V2: remove uncessary ifdef/endif and unnecassary block
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20220520213250.3126372-3-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24412.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/push.c