aboutsummaryrefslogtreecommitdiff
path: root/src/pt/test_gnunet_vpn.c
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2013-04-15 12:36:37 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2013-04-15 12:36:37 +0000
commitad68ae150f17cf6e0b2c605c9331cf0aedfce1d0 (patch)
tree9079e9ce1b942683e45f2f5212fe2f9ce1bd5d56 /src/pt/test_gnunet_vpn.c
parentfbda84a3f00a667f4b149f00f9a7d330e5db54a8 (diff)
downloadgnunet-ad68ae150f17cf6e0b2c605c9331cf0aedfce1d0.tar.gz
gnunet-ad68ae150f17cf6e0b2c605c9331cf0aedfce1d0.zip
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.
Diffstat (limited to 'src/pt/test_gnunet_vpn.c')
-rw-r--r--src/pt/test_gnunet_vpn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c
index c50837459..b6e8980c9 100644
--- a/src/pt/test_gnunet_vpn.c
+++ b/src/pt/test_gnunet_vpn.c
@@ -414,8 +414,8 @@ main (int argc, char *const *argv)
414 exit_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-exit.exe"); 414 exit_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-exit.exe");
415 fprintf (stderr,"%s\n", vpn_binary); 415 fprintf (stderr,"%s\n", vpn_binary);
416 fprintf (stderr,"%s\n", exit_binary); 416 fprintf (stderr,"%s\n", exit_binary);
417 if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary))) || 417 if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary, TRUE, NULL))) || // FIXME: CF: add test-parameters
418 (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary)))) 418 (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, TRUE, NULL)))) // FIXME: CF: add test-parameters
419 { 419 {
420 GNUNET_free (vpn_binary); 420 GNUNET_free (vpn_binary);
421 GNUNET_free (exit_binary); 421 GNUNET_free (exit_binary);