Commit 2add645d 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)
parent 48345917
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -639,7 +639,6 @@ int ocsp_main(int argc, char **argv)
                   OCSP_response_status_str(i), i);
        if (ignore_err)
            goto redo_accept;
        ret = 0;
        goto end;
    }