summaryrefslogtreecommitdiff
path: root/contrib/OCSP_check/OCSP_check.sh
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-05-10 17:40:25 +0200
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-05-10 17:40:25 +0200
commitfd1989a44e8b5f8a1204268c0b831e1215d345c5 (patch)
treeb7953a8e1b3bd31ab9b25ed4a87b66f43cba2007 /contrib/OCSP_check/OCSP_check.sh
parent5ed34d2384cae48c45501f30c9e69512fe54b3ec (diff)
parentffca24bed7a03d95585ad02278667abe75d8b272 (diff)
Merge tag 'upstream/2.3.11'
Upstream version 2.3.11
Diffstat (limited to 'contrib/OCSP_check/OCSP_check.sh')
-rw-r--r--contrib/OCSP_check/OCSP_check.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/OCSP_check/OCSP_check.sh b/contrib/OCSP_check/OCSP_check.sh
index 6876c6d..2675788 100644
--- a/contrib/OCSP_check/OCSP_check.sh
+++ b/contrib/OCSP_check/OCSP_check.sh
@@ -105,9 +105,9 @@ if [ $check_depth -eq -1 ] || [ $cur_depth -eq $check_depth ]; then
exit 1
fi
# check that the reported status of certificate is ok
- if echo "$status" | grep -Fq "^${serial}: good"; then
+ if echo "$status" | grep -Eq "^${serial}: good"; then
# check if signature on the OCSP response verified correctly
- if echo "$status" | grep -Fq "^Response verify OK"; then
+ if echo "$status" | grep -Eq "^Response verify OK"; then
exit 0
fi
fi