Lines Matching refs:bs
90 static void print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
233 OCSP_BASICRESP *bs = NULL;
767 bs = OCSP_response_get1_basic(resp);
768 if (bs == NULL) {
776 if (req != NULL && ((i = OCSP_check_nonce(req, bs)) <= 0)) {
786 i = OCSP_basic_verify(bs, verify_other, store, verify_flags);
788 i = OCSP_basic_verify(bs, issuers, store, OCSP_TRUSTOTHER);
801 print_ocsp_summary(out, bs, req, reqnames, ids, nsec, maxage);
821 OCSP_BASICRESP_free(bs);
1076 static void print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
1086 if (bs == NULL || req == NULL || !sk_OPENSSL_STRING_num(names)
1095 if (!OCSP_resp_find_status(bs, id, &status, &reason,
1142 OCSP_BASICRESP *bs = NULL;
1155 bs = OCSP_BASICRESP_new();
1191 OCSP_basic_add1_status(bs, cid,
1199 OCSP_basic_add1_status(bs, cid,
1203 OCSP_basic_add1_status(bs, cid,
1213 single = OCSP_basic_add1_status(bs, cid,
1229 OCSP_copy_nonce(bs, req);
1247 if (!OCSP_basic_sign_ctx(bs, rcert, mctx, rother, flags)) {
1248 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_INTERNALERROR, bs);
1253 const ASN1_OCTET_STRING *sig = OCSP_resp_get0_signature(bs);
1257 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_SUCCESSFUL, bs);
1263 OCSP_BASICRESP_free(bs);