Fix ocsp app exit code
authorMatt Caswell <matt@openssl.org>
Wed, 18 Apr 2018 10:07:18 +0000 (11:07 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 19 Apr 2018 07:46:14 +0000 (08:46 +0100)
commit2add645dfc364cfc609e6138de1bf43c217bb557
tree452354cb81107dcf12378a8e7de0e821609a1dd3
parent48345917747a34feea3da2936994a265c7f2ca11
Fix ocsp app exit code

If we run the ocsp command line app and the responder returns a
non-successful status code then the app should exit with a failure code.

Based on an original patch by Tatsuhiro Tsujikawa.

Fixes #2387

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5999)
apps/ocsp.c