Lines Matching defs:store_ctx
57 X509_STORE_CTX *store_ctx = NULL;
63 if (!TEST_ptr(store_ctx = X509_STORE_CTX_new())
66 || !TEST_true(X509_STORE_CTX_init(store_ctx, store, NULL, chain))
67 || !TEST_true(X509_STORE_CTX_set_ex_data(store_ctx, store_ctx_idx,
71 X509_STORE_CTX_set_default(store_ctx, SSL_is_server(ssl)
73 X509_VERIFY_PARAM_set1(X509_STORE_CTX_get0_param(store_ctx),
75 store_ctx_dane_init(store_ctx, ssl);
78 X509_STORE_CTX_set_verify_cb(store_ctx, SSL_get_verify_callback(ssl));
81 if (!TEST_int_ge(ret = X509_STORE_CTX_verify(store_ctx), 0))
84 SSL_set_verify_result(ssl, X509_STORE_CTX_get_error(store_ctx));
87 X509_STORE_CTX_free(store_ctx);
427 static void store_ctx_dane_init(X509_STORE_CTX *store_ctx, SSL *ssl)
429 X509_STORE_CTX_set0_dane(store_ctx, SSL_get0_dane(ssl));