Date: Tue, 28 Jun 2022 16:41:10 +0200 From: Frank Lichtenheld Message-ID: References: <20220505114322.6460-1-frank@...2641...> MIME-Version: 1.0 In-Reply-To: <20220505114322.6460-1-frank@...2641...> Subject: Re: [Openvpn-devel] [PATCH] Introduce macros for the returns values of key_state_* List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline To: openvpn-devel@lists.sourceforge.net Note that this patch is wrong. Do not waste time reviewing it. Maybe at some point I will send a v2. But since it is not high priority it might take some time. On Thu, May 05, 2022 at 01:43:22PM +0200, Frank Lichtenheld wrote: > I think that makes the code slightly more readable. > > Signed-off-by: Frank Lichtenheld > --- > src/openvpn/ssl.c | 20 +++++++++--------- > src/openvpn/ssl_backend.h | 35 ++++++++++++++++++------------- > src/openvpn/ssl_mbedtls.c | 44 +++++++++++++++++++-------------------- > 3 files changed, 52 insertions(+), 47 deletions(-) > > Might conflict with some of Arne's handshake patches. > [...] -- Frank Lichtenheld