projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes to various ASN1_INTEGER routines for negative case.
[openssl.git]
/
apps
/
ocsp.c
diff --git
a/apps/ocsp.c
b/apps/ocsp.c
index f23aa4c52a856b397f794d79964cc83dd61c000c..eaba15f3099172ef5a21a1c5aa450466cc83c956 100644
(file)
--- 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));