Commit 4571b3c8 authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5999)

(cherry picked from commit 2add645d)
parent 67567b22
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -787,7 +787,6 @@ int MAIN(int argc, char **argv)
                   OCSP_response_status_str(i), i);
        if (ignore_err)
            goto redo_accept;
        ret = 0;
        goto end;
    }