Lines Matching refs:flags
17 STACK_OF(X509) *certs, unsigned long flags);
27 unsigned long flags);
31 X509_STORE *st, unsigned long flags, in ocsp_verify_signer() argument
48 if ((flags & OCSP_PARTIAL_CHAIN) != 0) in ocsp_verify_signer()
77 X509 *signer, unsigned long flags) in ocsp_verify() argument
82 if ((flags & OCSP_NOSIGS) == 0) { in ocsp_verify()
99 X509_STORE *st, unsigned long flags) in OCSP_basic_verify() argument
104 int ret = ocsp_find_signer(&signer, bs, certs, flags); in OCSP_basic_verify()
110 if ((ret == 2) && (flags & OCSP_TRUSTOTHER) != 0) in OCSP_basic_verify()
111 flags |= OCSP_NOVERIFY; in OCSP_basic_verify()
113 if ((ret = ocsp_verify(NULL, bs, signer, flags)) <= 0) in OCSP_basic_verify()
115 if ((flags & OCSP_NOVERIFY) == 0) { in OCSP_basic_verify()
117 if ((flags & OCSP_NOCHAIN) == 0) { in OCSP_basic_verify()
123 ret = ocsp_verify_signer(signer, 1, st, flags, untrusted, &chain); in OCSP_basic_verify()
126 if ((flags & OCSP_NOCHECKS) != 0) { in OCSP_basic_verify()
144 if ((flags & OCSP_NOEXPLICIT) != 0) in OCSP_basic_verify()
169 STACK_OF(X509) *certs, unsigned long flags) in ocsp_find_signer() argument
178 if ((flags & OCSP_NOINTERN) == 0 && in ocsp_find_signer()
386 X509_STORE *store, unsigned long flags) in OCSP_request_verify() argument
403 ret = ocsp_req_find_signer(&signer, req, nm, certs, flags); in OCSP_request_verify()
408 if ((ret == 2) && (flags & OCSP_TRUSTOTHER) != 0) in OCSP_request_verify()
409 flags |= OCSP_NOVERIFY; in OCSP_request_verify()
411 if ((ret = ocsp_verify(req, NULL, signer, flags)) <= 0) in OCSP_request_verify()
413 if ((flags & OCSP_NOVERIFY) != 0) in OCSP_request_verify()
415 return ocsp_verify_signer(signer, 0, store, flags, in OCSP_request_verify()
416 (flags & OCSP_NOCHAIN) != 0 ? in OCSP_request_verify()
423 unsigned long flags) in ocsp_req_find_signer() argument
427 if ((flags & OCSP_NOINTERN) == 0) { in ocsp_req_find_signer()