Lines Matching defs:out
65 static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
173 {"out", OPT_OUTFILE, '>', "Output filename"},
216 BIO *acbio = NULL, *cbio = NULL, *derbio = NULL, *out = NULL;
558 out = bio_open_default(outfile, 'w', FORMAT_TEXT);
559 if (out == NULL)
713 OCSP_REQUEST_print(out, req, 0);
769 BIO_printf(out, "Responder Error: %s (%d)\n",
776 OCSP_RESPONSE_print(out, resp, 0);
846 if (!print_ocsp_summary(out, bs, req, reqnames, ids, nsec, maxage))
867 BIO_free_all(out);
966 static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
986 BIO_printf(out, "%s: ", name);
990 BIO_puts(out, "ERROR: No Status found.\n");
1000 BIO_puts(out, "WARNING: Status times invalid.\n");
1001 ERR_print_errors(out);
1003 BIO_printf(out, "%s\n", OCSP_cert_status_str(status));
1005 BIO_puts(out, "\tThis Update: ");
1006 ASN1_GENERALIZEDTIME_print(out, thisupd);
1007 BIO_puts(out, "\n");
1010 BIO_puts(out, "\tNext Update: ");
1011 ASN1_GENERALIZEDTIME_print(out, nextupd);
1012 BIO_puts(out, "\n");
1019 BIO_printf(out, "\tReason: %s\n", OCSP_crl_reason_str(reason));
1021 BIO_puts(out, "\tRevocation Time: ");
1022 ASN1_GENERALIZEDTIME_print(out, rev);
1023 BIO_puts(out, "\n");