From: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> Date: Sat, 17 Jul 2021 09:41:35 +0000 (+0200) Subject: Fix Linux kernel coding style warning X-Git-Tag: v8.20~82^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=daa7aff316675ef99c9fe5be30a19129e9dbf0b8;p=users%2Fdwmw2%2Fopenconnect.git Fix Linux kernel coding style warning Avoid unnecessary line continuations Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> --- diff --git a/openssl-dtls.c b/openssl-dtls.c index 76bcd2f1..1d17bfed 100644 --- a/openssl-dtls.c +++ b/openssl-dtls.c @@ -772,8 +772,8 @@ int dtls_try_handshake(struct openconnect_info *vpninfo, int *timeout) } static int badossl_bitched = 0; - if (((OPENSSL_VERSION_NUMBER >= 0x100000b0L && OPENSSL_VERSION_NUMBER <= 0x100000c0L) || \ - (OPENSSL_VERSION_NUMBER >= 0x10001040L && OPENSSL_VERSION_NUMBER <= 0x10001060L) || \ + if (((OPENSSL_VERSION_NUMBER >= 0x100000b0L && OPENSSL_VERSION_NUMBER <= 0x100000c0L) || + (OPENSSL_VERSION_NUMBER >= 0x10001040L && OPENSSL_VERSION_NUMBER <= 0x10001060L) || OPENSSL_VERSION_NUMBER == 0x10002000L) && !badossl_bitched) { badossl_bitched = 1; vpn_progress(vpninfo, PRG_ERR, _("DTLS handshake timed out\n"));