Lines Matching refs:NULL

18 static const ASN1_ITEM *x509_it = NULL;
19 static X509 *x509 = NULL;
54 if (hdr == NULL) in mock_http_server()
66 if (count < 0 || out == NULL) in mock_http_server()
83 if (txt != NULL) in mock_http_server()
85 else if ((len = ASN1_item_i2d(rsp, NULL, it)) <= 0) in mock_http_server()
90 if (txt != NULL) in mock_http_server()
97 if (hdr == NULL) in mock_http_server()
127 server_args mock_args = { NULL, NULL, NULL, '0', 0 }; in test_http_method()
129 STACK_OF(CONF_VALUE) *headers = NULL; in test_http_method()
137 if (req == NULL in test_http_method()
141 req = NULL; in test_http_method()
147 mock_args.txt = NULL; in test_http_method()
149 if (wbio == NULL || rbio == NULL || req == NULL) in test_http_method()
160 NULL /* proxy */, NULL /* no_proxy */, in test_http_method()
161 real_server ? NULL : wbio, in test_http_method()
162 real_server ? NULL : rbio, in test_http_method()
163 NULL /* bio_update_fn */, NULL /* arg */, in test_http_method()
168 : OSSL_HTTP_transfer(NULL, NULL /* host */, NULL /* port */, RPATH, in test_http_method()
169 0 /* use_ssl */,NULL /* proxy */, NULL /* no_pr */, in test_http_method()
170 wbio, rbio, NULL /* bio_fn */, NULL /* arg */, in test_http_method()
175 if (rsp != NULL) { in test_http_method()
189 X509 *rcert = d2i_X509_bio(rsp, NULL); in test_http_method()
211 server_args mock_args = { NULL, NULL, NULL, '0', 0 }; in test_http_keep_alive()
212 OSSL_HTTP_REQ_CTX *rctx = NULL; in test_http_keep_alive()
215 if (wbio == NULL || rbio == NULL) in test_http_keep_alive()
225 rsp = OSSL_HTTP_transfer(&rctx, NULL /* server */, NULL /* port */, in test_http_keep_alive()
227 NULL /* proxy */, NULL /* no_proxy */, in test_http_keep_alive()
228 wbio, rbio, NULL /* bio_update_fn */, NULL, in test_http_keep_alive()
229 0 /* buf_size */, NULL /* headers */, in test_http_keep_alive()
230 NULL /* content_type */, NULL /* req => GET */, in test_http_keep_alive()
288 res = TEST_true(OSSL_HTTP_parse_url(url, NULL, NULL, &host, NULL, NULL, in test_http_url_path_query_ok()
289 &path, NULL, NULL)) in test_http_url_path_query_ok()
330 res = TEST_false(OSSL_HTTP_parse_url(url, &ssl, NULL, &host, &port, &num, in test_http_url_invalid()
331 &path, NULL, NULL)) in test_http_url_invalid()
423 BIO *mem = NULL; in test_http_resp_hdr_limit()
424 server_args mock_args = { NULL, NULL, NULL, '0', 0 }; in test_http_resp_hdr_limit()
426 OSSL_HTTP_REQ_CTX *rctx = NULL; in test_http_resp_hdr_limit()
444 NULL, NULL, RPATH))) in test_http_resp_hdr_limit()
495 if (!TEST_ptr((x509 = load_cert_pem(test_get_argument(0), NULL)))) in setup_tests()