summaryrefslogtreecommitdiff
path: root/tests/certs/scripts/genroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/certs/scripts/genroot.sh')
-rwxr-xr-xtests/certs/scripts/genroot.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/certs/scripts/genroot.sh b/tests/certs/scripts/genroot.sh
index 5dd9fac95..f66fc6554 100755
--- a/tests/certs/scripts/genroot.sh
+++ b/tests/certs/scripts/genroot.sh
@@ -22,19 +22,19 @@ DIGESTALGO=-sha256
PREFIX=$1
if [ ".$PREFIX" = . ] ; then
- echo No configuration prefix
- NOTOK=1
+ echo No configuration prefix
+ NOTOK=1
else
- if [ ! -f $PREFIX-ca.prm ] ; then
- echo No configuration file $PREFIX-ca.prm
- NOTOK=1
- fi
+ if [ ! -f $PREFIX-ca.prm ] ; then
+ echo No configuration file $PREFIX-ca.prm
+ NOTOK=1
+ fi
fi
if [ ".$NOTOK" != . ] ; then
- echo "Sorry, I can't do that for you."
- $USAGE
- exit
+ echo "Sorry, I can't do that for you."
+ $USAGE
+ exit
fi
GETSERIAL="\$t = time ;\$d = \$t . substr(\$t+$$ ,-4,4)-1;print \$d"