As reported in trac #582, the OCSP_check.sh script should use grep -E,
instead of grep -F when it uses ^ in the expression.
Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
1456409434-14784-1-git-send-email-steffan@karger.me>
URL: http://article.gmane.org/gmane.network.openvpn.devel/11254
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit
ab0f846de6991345c30f5b69817304183d347e0e)
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