summaryrefslogtreecommitdiff
path: root/tests/cert-tests/invalid-sig
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2015-06-21 20:42:12 +0300
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-06-24 21:47:29 +0200
commit435deb84c9c27d22be04e6a598e874e0bd55ff5b (patch)
treecf7562223e3481d66b45b34a7c058e07d6389592 /tests/cert-tests/invalid-sig
parent503c0cb80bcc8d6194cb414e889c40f59161d81d (diff)
downloadgnutls-435deb84c9c27d22be04e6a598e874e0bd55ff5b.tar.gz
tests: tab indent + minor style changes
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Diffstat (limited to 'tests/cert-tests/invalid-sig')
-rwxr-xr-xtests/cert-tests/invalid-sig16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/cert-tests/invalid-sig b/tests/cert-tests/invalid-sig
index 72d72ecdd7..dacdc61683 100755
--- a/tests/cert-tests/invalid-sig
+++ b/tests/cert-tests/invalid-sig
@@ -25,8 +25,8 @@
srcdir="${srcdir:-.}"
CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
DIFF="${DIFF:-diff}"
-if ! test -z "${VALGRIND}";then
- VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}"
+if ! test -z "${VALGRIND}"; then
+ VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}"
fi
#check whether a different PKCS #1 signature than the advertized in certificate is tolerated
@@ -35,8 +35,8 @@ rc=$?
# We're done.
if test "${rc}" = "0"; then
- echo "Verification of invalid signature (1) failed"
- exit ${rc}
+ echo "Verification of invalid signature (1) failed"
+ exit ${rc}
fi
#check whether a different tbsCertificate than the outer signature algorithm is tolerated
@@ -45,8 +45,8 @@ rc=$?
# We're done.
if test "${rc}" = "0"; then
- echo "Verification of invalid signature (2) failed"
- exit ${rc}
+ echo "Verification of invalid signature (2) failed"
+ exit ${rc}
fi
#check whether a different tbsCertificate than the outer signature algorithm is tolerated
@@ -55,8 +55,8 @@ rc=$?
# We're done.
if test "${rc}" = "0"; then
- echo "Verification of invalid signature (3) failed"
- exit ${rc}
+ echo "Verification of invalid signature (3) failed"
+ exit ${rc}
fi
exit 0