From: "flichtenheld (Code Review)" Date: Thu, 12 Mar 2026 11:35:24 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <28229b9ba65914fb72b692c87da2725c29c228e3-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="2XYEmhGMVA4="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Change hash values in our hash map from uint32_t to uint64_t List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --2XYEmhGMVA4= 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 plaisthos. ( http://gerr= it.openvpn.net/c/openvpn/+/1570?usp=3Demail ) Change subject: Change hash values in our hash map from uint32_t to uint64_t ...................................................................... Patch Set 2: (1 comment) File tests/unit_tests/openvpn/test_misc.c: http://gerrit.openvpn.net/c/openvpn/+/1570/comment/e9ce02ce_c816e1a1?usp=3D= email : PS2, Line 176: struct hash *hash =3D hash_init(10000, (uint32_t)get_ran= dom(), word_hash_function, word_compare_function); get_random already returns uint32_t, so this is a meaningless cast. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1570?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: Ib8140107f98164d2a2e1768a6d8ac65016cd7f7c Gerrit-Change-Number: 1570 Gerrit-PatchSet: 2 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Comment-Date: Thu, 12 Mar 2026 11:35:24 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No --2XYEmhGMVA4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

View = Change

1 comment:

    =
  • File tests/unit_tests/openvpn/test_= misc.c:

    • Patch Set #2, Line 176: struct hash *hash =3D hash_init(10000, (uint32_t)get_random(), word_= hash_function, word_compare_function);

      get_random already retur= ns uint32_t, so this is a meaningless cast.

To vi= ew, visit change 1570. To unsubscribe, or for help writing mail filters, visit = settings.

=
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib8140107f98164d2a2e1768a6d8= ac65016cd7f7c
Gerrit-Change-Number: 1570
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Comment-Date: Thu, 12 Mar 2026 11:35:24= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
= --2XYEmhGMVA4=--