aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-22 17:27:56 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-22 17:27:56 +0000
commitf6713cf1ea4ed1b3c4844fa8e74187043986b2b6 (patch)
treeda4583bdf8186643828ff8cf6c1b88c654ad8070
parent323b7225e6173544de255541087df8bd22ad1644 (diff)
downloadgnunet-f6713cf1ea4ed1b3c4844fa8e74187043986b2b6.tar.gz
gnunet-f6713cf1ea4ed1b3c4844fa8e74187043986b2b6.zip
add check for certtool
-rw-r--r--src/gns/gnunet-gns-proxy-setup-ca7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gns/gnunet-gns-proxy-setup-ca b/src/gns/gnunet-gns-proxy-setup-ca
index d0b07887b..5686e37f7 100644
--- a/src/gns/gnunet-gns-proxy-setup-ca
+++ b/src/gns/gnunet-gns-proxy-setup-ca
@@ -2,8 +2,13 @@
2# This shell script will generate an X509 certificate for your gnunet-gns-proxy 2# This shell script will generate an X509 certificate for your gnunet-gns-proxy
3# and install it (for both GNUnet and your browser). 3# and install it (for both GNUnet and your browser).
4# 4#
5echo "Generating CA" 5if ! which certtool > /dev/null
6then
7 echo "'certtool' command not found. Please install it."
8 exit 1
9fi
6 10
11echo "Generating CA"
7options='' 12options=''
8while getopts "c:" opt; do 13while getopts "c:" opt; do
9 case $opt in 14 case $opt in