From ad68ae150f17cf6e0b2c605c9331cf0aedfce1d0 Mon Sep 17 00:00:00 2001 From: Christian Fuchs Date: Mon, 15 Apr 2013 12:36:37 +0000 Subject: extended the GNUNET_OS_check_helper_binary parameters to do previlege checking in windows. To do so, tested binaries must still be supplied with valid commandline arguments, but on windows gnunet will utilize the -d flag to run the programs initialization phase or privileged operations only. In these modes, a program will not enter its mainloop or communicate with the outside. updated relevant function calls gnunet-wide to meet the extended function parameters. --- src/nat/test_nat_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nat/test_nat_test.c') diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c index c213ffa1e..7d4964b5c 100644 --- a/src/nat/test_nat_test.c +++ b/src/nat/test_nat_test.c @@ -92,7 +92,7 @@ main (int argc, char *const argv[]) "WARNING", NULL); - nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server"); + nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server", FALSE, NULL); if (GNUNET_SYSERR == nat_res) { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, -- cgit v1.2.3