Lines Matching defs:bs
106 static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
145 OCSP_BASICRESP *bs = NULL;
795 bs = OCSP_response_get1_basic(resp);
797 if (!bs) {
803 if (req && ((i = OCSP_check_nonce(req, bs)) <= 0)) {
812 i = OCSP_basic_verify(bs, verify_other, store, verify_flags);
814 i = OCSP_basic_verify(bs, NULL, store, 0);
824 if (!print_ocsp_summary(out, bs, req, reqnames, ids, nsec, maxage))
845 OCSP_BASICRESP_free(bs);
923 static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
936 if (!bs || !req || !sk_OPENSSL_STRING_num(names)
945 if (!OCSP_resp_find_status(bs, id, &status, &reason,
992 OCSP_BASICRESP *bs = NULL;
1003 bs = OCSP_BASICRESP_new();
1032 OCSP_basic_add1_status(bs, cid,
1040 OCSP_basic_add1_status(bs, cid,
1044 OCSP_basic_add1_status(bs, cid,
1054 single = OCSP_basic_add1_status(bs, cid,
1070 OCSP_copy_nonce(bs, req);
1072 OCSP_basic_sign(bs, rcert, rkey, NULL, rother, flags);
1074 *resp = OCSP_response_create(OCSP_RESPONSE_STATUS_SUCCESSFUL, bs);
1080 OCSP_BASICRESP_free(bs);