From: "flichtenheld (Code Review)"
Date: Tue, 11 Nov 2025 14:28:12 +0000
In-Reply-To:
References:
Reply-To: frank@...2641..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="CZrCRjYMBLg="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: ssl: Fix conversion
warning in tls_prepend_opcode_v1
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: plaisthos , openvpn-devel
--CZrCRjYMBLg=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change by flichtenheld. ( http://g=
errit.openvpn.net/c/openvpn/+/1298?usp=3Demail )
Change subject: ssl: Fix conversion warning in tls_prepend_opcode_v1
......................................................................
Patch Set 4:
(1 comment)
File src/openvpn/ssl.c:
http://gerrit.openvpn.net/c/openvpn/+/1298/comment/63437cc2_76f424ff?usp=3D=
email :
PS3, Line 3985: ASSERT(ks->key_id <=3D 1 << P_OPCODE_SHIFT);
> Can we add brackets here? I find this a bit hard to read since the order =
of <=3D and << is not so supe [=E2=80=A6]
That would be redundant with `P_KEY_ID_MASK` I guess, so how about just usi=
ng that? Changed to that for now. But definitely right about the off-by-one.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1298?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings?usp=3Demail
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I34584f695ddca3b3e1f2bbcb4380ac91b09c1c8d
Gerrit-Change-Number: 1298
Gerrit-PatchSet: 4
Gerrit-Owner: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Comment-Date: Tue, 11 Nov 2025 14:28:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos
--CZrCRjYMBLg=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: plaisthos.
Can we =
add brackets here? I find this a bit hard to read since the order of <=
=3D and << is not so supe [=E2=80=A6]
That would be =
redundant with `P_KEY_ID_MASK` I guess, so how about just using that? Chang=
ed to that for now. But definitely right about the off-by-one.
To view, visit change 1298. To unsubscribe, or for help writing m=
ail filters, visit settings.