From: "cron2 (Code Review)" Date: Tue, 12 Dec 2023 07:51:03 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="yve6AbFNLrU="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: misc: make get_auth_challenge static List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --yve6AbFNLrU= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/476?usp=3Demail ) Change subject: misc: make get_auth_challenge static ...................................................................... Patch Set 2: (1 comment) File src/openvpn/misc.c: http://gerrit.openvpn.net/c/openvpn/+/476/comment/12421107_520d82c3 : PS2, Line 143: if (auth_challenge) If moving this around anyway, we could convert this function to early-retur= n, or even make it an ASSERT(auth_challenge) since the caller is only ever = calling it from an "if (auth_challenge & ...") block... -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/476?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: I0abeec9f862aea1f6a8fdf350fa0008cf2e5d613 Gerrit-Change-Number: 476 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: cron2 Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Tue, 12 Dec 2023 07:51:03 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --yve6AbFNLrU= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

View C= hange

1 comment:

    <= li style=3D"margin: 0; padding: 0;">

    File src/openvpn/misc.c:

    • Patch Set #2, Line 143: if (auth_challenge)

      If moving t= his around anyway, we could convert this function to early-return, or even = make it an ASSERT(auth_challenge) since the caller is only ever calling it = from an "if (auth_challenge & ...") block...

To view, visit change 476. To unsubscribe, or for help writing mail fi= lters, visit settings.

=
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I0abeec9f862aea1f6a8fdf350fa= 0008cf2e5d613
Gerrit-Change-Number: 476
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: cron2 <gert@...1296...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Tue, 12 Dec 2023 07:51:03= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--yve6AbFNLrU=--