Lines Matching refs:csc
110 X509_STORE_CTX *csc = NULL; in OSSL_CMP_validate_cert_path() local
123 if ((csc = X509_STORE_CTX_new_ex(ctx->libctx, ctx->propq)) == NULL in OSSL_CMP_validate_cert_path()
124 || !X509_STORE_CTX_init(csc, trusted_store, in OSSL_CMP_validate_cert_path()
128 valid = X509_verify_cert(csc) > 0; in OSSL_CMP_validate_cert_path()
138 X509_STORE_CTX_free(csc); in OSSL_CMP_validate_cert_path()
145 X509_STORE_CTX *csc; in verify_cb_cert() local
150 if ((csc = X509_STORE_CTX_new()) != NULL in verify_cb_cert()
151 && X509_STORE_CTX_init(csc, ts, cert, NULL)) { in verify_cb_cert()
152 X509_STORE_CTX_set_error(csc, err); in verify_cb_cert()
153 X509_STORE_CTX_set_current_cert(csc, cert); in verify_cb_cert()
154 ok = (*verify_cb)(0, csc); in verify_cb_cert()
156 X509_STORE_CTX_free(csc); in verify_cb_cert()