Skip to content

[rt.openssl.org #4018] openssl ocsp command returns exist code 0 even if responder returns error #2387

@richsalz

Description

@richsalz

Migrated from rt.openssl.org#4018 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2015-08-24 15:42:00:

Hi,

When doing ocsp query using openssl ocsp command bundled with openssl
1.0.2d, and ocsp responder returns non-successful status code (e.g.,
trylater(3)), openssl ocsp command still returns exit status code 0.
I'm not sure this is intentional, but apparently ocsp query is failed
because we didn't get the response back, so it should return non zero
status code.

The attached patch will fix this issue.

BTW, I'm using Debian sid.

Best regards,
Tatsuhiro Tsujikawa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions