aboutsummaryrefslogtreecommitdiff
path: root/src/pt
diff options
context:
space:
mode:
Diffstat (limited to 'src/pt')
-rw-r--r--src/pt/test_gns_vpn.c6
-rw-r--r--src/pt/test_gnunet_vpn.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c
index 0ae875d0f3..b1d25dd85a 100644
--- a/src/pt/test_gns_vpn.c
+++ b/src/pt/test_gns_vpn.c
@@ -543,11 +543,11 @@ main (int argc, char *const *argv)
bin_dns = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-dns");
if ( (0 != geteuid ()) &&
( (GNUNET_YES !=
- GNUNET_OS_check_helper_binary (bin_vpn, TRUE, NULL)) ||
+ GNUNET_OS_check_helper_binary (bin_vpn, GNUNET_YES, NULL)) ||
(GNUNET_YES !=
- GNUNET_OS_check_helper_binary (bin_exit, TRUE, NULL)) ||
+ GNUNET_OS_check_helper_binary (bin_exit, GNUNET_YES, NULL)) ||
(GNUNET_YES !=
- GNUNET_OS_check_helper_binary (bin_dns, TRUE, NULL))) )
+ GNUNET_OS_check_helper_binary (bin_dns, GNUNET_YES, NULL))) )
{
fprintf (stderr,
"WARNING: gnunet-helper-{exit,vpn,dns} binaries in $PATH are not SUID, refusing to run test (as it would have to fail).\n");
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c
index b6e8980c9d..52899d190f 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)
exit_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-exit.exe");
fprintf (stderr,"%s\n", vpn_binary);
fprintf (stderr,"%s\n", exit_binary);
- if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary, TRUE, NULL))) || // FIXME: CF: add test-parameters
- (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, TRUE, NULL)))) // FIXME: CF: add test-parameters
+ if ((GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (vpn_binary, GNUNET_YES, NULL))) || // FIXME: CF: add test-parameters
+ (GNUNET_YES != (ret = GNUNET_OS_check_helper_binary (exit_binary, GNUNET_YES, NULL)))) // FIXME: CF: add test-parameters
{
GNUNET_free (vpn_binary);
GNUNET_free (exit_binary);