diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-01-19 14:21:48 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-01-19 14:21:48 +0000 |
commit | 8e8972bb680c7f91b9f615dc0fee3b1eb2cbed57 (patch) | |
tree | 96ac394f7e28b1de2e2eefd0121bd1f412323d1f /apps | |
parent | 57108f0ad573347af91681568dc790f606fd0a5b (diff) |
Fixes to various ASN1_INTEGER routines for negative case.
Enhance s2i_ASN1_INTEGER().
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ocsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c index f23aa4c52a..eaba15f309 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -585,7 +585,7 @@ static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req, if (status != V_OCSP_CERTSTATUS_REVOKED) continue; - if (reason > 0) + if (reason != -1) BIO_printf(out, "\tReason: %s\n", OCSP_crl_reason_str(reason)); |