From: "flichtenheld (Code Review)" Date: Fri, 16 Feb 2024 10:09:18 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <745034d45020b812fa63dcda984dd56b1e7a36c4-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="R1BOJN+ntwQ="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: check_compression_settings_valid: Do not test for LZ4 in LZO check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --R1BOJN+ntwQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/526?usp=3Demail to review the following change. Change subject: check_compression_settings_valid: Do not test for LZ4 in LZ= O check ...................................................................... check_compression_settings_valid: Do not test for LZ4 in LZO check Probably introduced by copy & paste since there is no COMP_ALGV2_LZO. Github: #500 Change-Id: Id6b038c1c0095b2f22033e9dc7090e2507a373ab Signed-off-by: Frank Lichtenheld --- M src/openvpn/comp.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/26/526/1 diff --git a/src/openvpn/comp.c b/src/openvpn/comp.c index 6e30369..311f3e9 100644 --- a/src/openvpn/comp.c +++ b/src/openvpn/comp.c @@ -195,7 +195,7 @@ } #endif #ifndef ENABLE_LZO - if (info->alg =3D=3D COMP_ALG_LZO || info->alg =3D=3D COMP_ALG_LZ4) + if (info->alg =3D=3D COMP_ALG_LZO) { msg(msglevel, "OpenVPN is compiled without LZO support. Requested " "compression cannot be enabled."); -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/526?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Id6b038c1c0095b2f22033e9dc7090e2507a373ab Gerrit-Change-Number: 526 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-MessageType: newchange --R1BOJN+ntwQ= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

Vi= ew Change

check_compression_settings_valid: Do not test for LZ4 in LZO =
check

Probably introduced by copy & paste since there is no
C= OMP_ALGV2_LZO.

Github: #500
Change-Id: Id6b038c1c0095b2f22033e9dc= 7090e2507a373ab
Signed-off-by: Frank Lichtenheld <frank@...2641...>= ;
---
M src/openvpn/comp.c
1 file changed, 1 insertion(+), 1 delet= ion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/chang=
es/26/526/1
diff --git a/src/openvpn/comp.c b/src/openvpn/comp.c
index 6e30369..311f3e9 100644
--- a/src/openv= pn/comp.c
+++ b/src/openvpn/comp.c
@@ -195,= 7 +195,7 @@
}
#endif
= #ifndef ENABLE_LZO
- = if (info->alg =3D=3D COMP_ALG_LZO || info->alg =3D=3D COMP_ALG_LZ4)=
+ if (info->al= g =3D=3D COMP_ALG_LZO)
{
msg(= msglevel, "OpenVPN is compiled without LZO support. Requested "
"compression cannot be enabled.");

To view, visit change 526. To unsubscribe, or = for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id6b038c1c0095b2f22033e9dc70= 90e2507a373ab
Gerrit-Change-Number: 526
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-MessageType: newchange
--R1BOJN+ntwQ=--