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:39:42 +0000 (08:39 +0100)
commitc324ecfb2d4a6608d7a5f848968180c7995fc9a6
tree7b59514d7f3b1eb1b3db5763bdefeac84ec6bcc6
parent6e07834ca0eaeb38da2696e74c16082efd45bbe2
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/5998)
apps/ocsp.c