transport service hello reduction, klocwork fixes
[oweals/gnunet.git] / src / transport / gnunet-transport-certificate-creation
index cc10ca5d1547b0d1b0b3a9067598fbaeab916833..539035ad58868fbb27869fa2e676b61386ef0048 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 # GNUnet TLS certificate shell scricpt
 # Creates a TSL certificate to use with HTTPS transport plugin
@@ -16,7 +16,7 @@ if [ $? -ne 0 ]; then
  exit 1
 fi 
 # Create a self-signed certificate in batch mode using rsa key
-openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null
+   openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null
 if [ $? -ne 0 ]; then
  rm -f $1 $2
  exit 1