]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Mock openvpn_exece on win32 also for test_tls_crypt
authorArne Schwabe <arne@rfc2549.org>
Wed, 12 Jul 2023 09:54:12 +0000 (11:54 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 17 Jul 2023 17:04:14 +0000 (19:04 +0200)
commitede590e57c96c2b16d9bf462c4b1dd967b37c432
tree795a11c41b77347127fe13589215c35ba77f4310
parentab01eaf49fa9341ff647206bd6e3017770cc0674
Mock openvpn_exece on win32 also for test_tls_crypt

This function is needed to commpile on win32 as run_command.c defines it
on Unix Linux but on windows it is defined in win32.c which pulls in too
many other unresolvable symbols.

Patch v2: Also add mock_win32_execve.c to automake files

Change-Id: I8c8fe298eb30e211279f3fc010584b9d3bc14b4a
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20230712095412.570106-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26849.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
CMakeLists.txt
tests/unit_tests/openvpn/Makefile.am
tests/unit_tests/openvpn/mock_win32_execve.c [new file with mode: 0644]
tests/unit_tests/openvpn/test_pkt.c