0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 03:52:28 +02:00
openvpn/tests
Frank Lichtenheld e87e44f7bc test_tls_crypt: Improve mock() usage to be more portable
Use the casting variants of mock(). Using the mock_ptr_type
fixes an existing bug where test_tls_crypt.c couldn't
build in MinGW 32bit:

test_tls_crypt.c:127:27: error:
cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
  127 |     const char *pem_str = (const char *) mock();

Change-Id: I6c03313b8677fa07c07e718b1f85f7efd3c4dea8
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20230630123908.82588-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26796.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2023-07-01 22:07:47 +02:00
..
unit_tests test_tls_crypt: Improve mock() usage to be more portable 2023-07-01 22:07:47 +02:00
Makefile.am tests: do not include t_client.sh in dist 2023-05-08 13:58:07 +02:00
t_client.rc-sample Deprecate --ns-cert-type 2017-03-19 16:49:11 +01:00
t_client.sh.in tests: Allow to override openvpn binary used 2023-05-16 17:57:48 +02:00
t_cltsrv-down.sh build: standard directory layout 2012-03-22 22:07:08 +01:00
t_cltsrv.sh tests: Allow to override openvpn binary used 2023-05-16 17:57:48 +02:00
t_lpback.sh tests: Allow to override openvpn binary used 2023-05-16 17:57:48 +02:00
t_net.sh tests: Allow to override openvpn binary used 2023-05-16 17:57:48 +02:00
update_t_client_ips.sh Prevent generation of duplicate EXPECT_IFCONFIG entries 2016-11-08 15:09:52 +01:00