if (reason > 0)
if (reason != -1)
static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,					STACK *names, STACK_OF(OCSP_CERTID) *ids)	{	OCSP_CERTID *id;	char *name;	int i;	int status, reason;	ASN1_GENERALIZEDTIME *rev, *thisupd, *nextupd;	if (!bs || !req || !sk_num(names) || !sk_OCSP_CERTID_num(ids))		return 1;	for (i = 0; i < sk_OCSP_CERTID_num(ids); i++)		{		id = sk_OCSP_CERTID_value(ids, i);		name = sk_value(names, i);		BIO_printf(out, "%s: ", name);		if(!OCSP_resp_find_status(bs, id, &status, &reason,					&rev, &thisupd, &nextupd))			{			BIO_puts(out, "ERROR: No Status found.\n");			continue;			}		BIO_printf(out, "%s\n", OCSP_cert_status_str(status));		BIO_puts(out, "\tThis Update: ");		ASN1_GENERALIZEDTIME_print(out, thisupd);		BIO_puts(out, "\n");		if(nextupd)			{			BIO_puts(out, "\tNext Update: ");			ASN1_GENERALIZEDTIME_print(out, thisupd);			BIO_puts(out, "\n");			}		if (status != V_OCSP_CERTSTATUS_REVOKED)			continue;		if (reason > 0)			BIO_printf(out, "\tReason: %s\n",				OCSP_crl_reason_str(reason));		BIO_puts(out, "\tRevocation Time: ");		ASN1_GENERALIZEDTIME_print(out, rev);		BIO_puts(out, "\n");		}	return 1;	}