Date: Fri, 29 Apr 2022 15:18:06 +0200 (CEST) From: Frank Lichtenheld Message-ID: <1078939443.692575.1651238286579@...2642...> In-Reply-To: <877931381.691988.1651237887669@...2642...> References: <20220422134038.3801239-1-arne@...1227...> <20220422142953.3805364-1-arne@...1227...> <20220422142953.3805364-13-arne@...1227...> <877931381.691988.1651237887669@...2642...> MIME-Version: 1.0 Subject: Re: [Openvpn-devel] [PATCH 22/28] Implement HMAC based session id for tls-crypt v2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: Arne Schwabe , openvpn-devel@lists.sourceforge.net > Frank Lichtenheld hat am 29.04.2022 15:11 geschrieben: > > Arne Schwabe hat am 22.04.2022 16:29 geschrieben: [...] > > diff --git a/tests/unit_tests/openvpn/test_pkt.c b/tests/unit_tests/openvpn/test_pkt.c > > index c4e23521d..184b88383 100644 > > --- a/tests/unit_tests/openvpn/test_pkt.c > > +++ b/tests/unit_tests/openvpn/test_pkt.c > > @@ -531,7 +531,7 @@ test_generate_reset_packet_plain(void **ut_state) > > > > uint8_t header = 0 | (P_CONTROL_HARD_RESET_CLIENT_V2 << P_OPCODE_SHIFT); > > > > - struct buffer buf = tls_reset_standalone(&tas, &client_id, &server_id, header); > > + struct buffer buf = tls_reset_standalone(&tas, &client_id, &server_id, header, 0, 0); > > Nitpick: the second 0 should be "false" instead. Same for all further calls in this file. Note: fixed in 23/28 Regards, -- Frank Lichtenheld