From: "cron2 (Code Review)" Date: Fri, 8 Mar 2024 11:25:32 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <57076bf8363f10c93a4e9a71cd600b6a181e742a-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="WQaDZ7wxIaU="; 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: flichtenheld Cc: plaisthos , openvpn-devel --WQaDZ7wxIaU= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/52= 6?usp=3Demail ) 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 Acked-by: Arne Schwabe Message-Id: <20240216123037.3670448-1-frank@...2641...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28= 251.html Signed-off-by: Gert Doering --- M src/openvpn/comp.c 1 file changed, 1 insertion(+), 1 deletion(-) 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: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-MessageType: merged --WQaDZ7wxIaU= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 submitted this change.

View Change

check_compression_settings_valid: Do not test =
for LZ4 in LZO check

Probably introduced by copy & paste since t= here is no
COMP_ALGV2_LZO.

Github: #500
Change-Id: Id6b038c1c0= 095b2f22033e9dc7090e2507a373ab
Signed-off-by: Frank Lichtenheld <fran= k@...2641...>
Acked-by: Arne Schwabe <arne-openvpn@...1227...><= br>Message-Id: <20240216123037.3670448-1-frank@...2641...>
URL: ht= tps://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28251.htm= l
Signed-off-by: Gert Doering <gert@...1296...>
---
M src/op= envpn/comp.c
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/openvpn/comp.c b/src/openvpn/comp.c
ind= ex 6e30369..311f3e9 100644
--- a/src/openvpn/comp.c<= br>+++ b/src/openvpn/comp.c
@@ -195,7 +195,7 @@
}
#endif
#ifndef ENABLE_L= ZO
- if (info->al= g =3D=3D COMP_ALG_LZO || info->alg =3D=3D COMP_ALG_LZ4)
+ if (info->alg =3D=3D COMP_ALG= _LZO)
{
msg(msglevel, "O= penVPN 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: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: merged
--WQaDZ7wxIaU=--