aboutsummaryrefslogtreecommitdiff
path: root/src/service/gns/test_proxy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/gns/test_proxy.sh')
-rwxr-xr-xsrc/service/gns/test_proxy.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/service/gns/test_proxy.sh b/src/service/gns/test_proxy.sh
index bb63a436e..aa59504ee 100755
--- a/src/service/gns/test_proxy.sh
+++ b/src/service/gns/test_proxy.sh
@@ -1,5 +1,18 @@
1#!/bin/bash 1#!/bin/bash
2# This file is in the public domain. 2# This file is in the public domain.
3
4if ! which certutil > /dev/null
5then
6 echo "certutil required"
7 exit 77
8fi
9
10if ! which openssl > /dev/null
11then
12 echo "certutil required"
13 exit 77
14fi
15
3TEST_DOMAIN="www.test" 16TEST_DOMAIN="www.test"
4GNUNET_TMP="$(gnunet-config -f -s PATHS -o GNUNET_TMP)" 17GNUNET_TMP="$(gnunet-config -f -s PATHS -o GNUNET_TMP)"
5PROXY_CACERT="$(gnunet-config -f -c test_gns_proxy.conf -s gns-proxy -o PROXY_CACERT)" 18PROXY_CACERT="$(gnunet-config -f -c test_gns_proxy.conf -s gns-proxy -o PROXY_CACERT)"