]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Mock openvpn_exece on win32 also for test_tls_crypt
authorArne Schwabe <arne@rfc2549.org>
Mon, 25 Sep 2023 09:44:09 +0000 (11:44 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 25 Sep 2023 17:12:09 +0000 (19:12 +0200)
commit2ecad2403c4589f204e0fc7d1c9218f016c1de07
tree3b840428844f8b90aa99ed6c16a907feada72367
parent4abdb1235833e9e3b9510ec50bd5abd150ba7fa8
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: Heiko Hund <heiko@openvpn.net>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
(cherry picked from commit ede590e57c96c2b16d9bf462c4b1dd967b37c432)
Message-Id: <20230925094409.40429-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27097.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
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