crypto/openssl/test/acvp_test.c
800
if (!TEST_ptr_null(pkey = dsa_keygen(tst->L, tst->N)))
crypto/openssl/test/asn1_decode_test.c
190
if (!TEST_ptr_null(gentime))
crypto/openssl/test/asn1_decode_test.c
225
if (!TEST_ptr_null(utctime))
crypto/openssl/test/asn1_decode_test.c
262
if (TEST_ptr_null(tmp))
crypto/openssl/test/asn1_string_table_test.c
24
if (!TEST_ptr_null(tmp)) {
crypto/openssl/test/asn1_string_table_test.c
57
if (!TEST_ptr_null(tmp)) {
crypto/openssl/test/asn1_string_table_test.c
63
if (!TEST_ptr_null(tmp)) {
crypto/openssl/test/asn1_time_test.c
745
} else if (td->convert_result == 0 && !TEST_ptr_null(ptime)) {
crypto/openssl/test/bio_core_test.c
83
|| !TEST_ptr_null((cbiobad = BIO_new_from_core_bio(NULL, &corebio)))
crypto/openssl/test/bio_meth_test.c
50
if (!TEST_ptr_null(BIO_find_type(bio3, BIO_TYPE_NONE)))
crypto/openssl/test/bio_pw_callback_test.c
225
if (!TEST_ptr_null(r_ret))
crypto/openssl/test/bntest.c
1806
if (!TEST_ptr_null(BN_mod_sqrt(ret, a, p, ctx)))
crypto/openssl/test/bntest.c
2325
if (!TEST_ptr_null(fn(input, -1, bn_##e)) \
crypto/openssl/test/bntest.c
3230
if (!TEST_ptr_null(BN_mod_inverse(b, a, b, ctx)))
crypto/openssl/test/ca_internals_test.c
57
if (TEST_ptr_null(db)) {
crypto/openssl/test/cipherbytes_test.c
34
|| !TEST_ptr_null(sk)
crypto/openssl/test/cipherbytes_test.c
35
|| !TEST_ptr_null(scsv))
crypto/openssl/test/cmp_client_test.c
138
: TEST_ptr_null(itavs);
crypto/openssl/test/cmp_client_test.c
158
return TEST_ptr_null(res);
crypto/openssl/test/cmp_msg_test.c
398
if (!TEST_ptr_null(ossl_cmp_certrepmessage_get0_certresponse(crepmsg, 88)))
crypto/openssl/test/cmp_msg_test.c
471
if (!TEST_ptr_null(ossl_cmp_pollrepcontent_get0_pollrep(pollrep->body->value.pollRep, 88)))
crypto/openssl/test/cmp_msg_test.c
72
int good = fixture->expected != 0 ? TEST_ptr(msg = (expr)) && TEST_true(valid_asn1_encoding(msg)) : TEST_ptr_null(msg = (expr)); \
crypto/openssl/test/cmp_protect_test.c
83
int res = TEST_ptr_null(protection);
crypto/openssl/test/cmsapitest.c
471
if (!TEST_ptr_null(cms))
crypto/openssl/test/crltest.c
530
if (!TEST_ptr_null(result)
crypto/openssl/test/crltest.c
531
|| !TEST_ptr_null(reused_crl))
crypto/openssl/test/crltest.c
535
if (!TEST_ptr_null(result)
crypto/openssl/test/ct_test.c
293
} else if (!TEST_ptr_null(sct_extension)) {
crypto/openssl/test/d2i_test.c
60
if (TEST_ptr_null(ASN1_item_d2i_bio(item_type, bio, NULL)))
crypto/openssl/test/decoder_propq_test.c
67
if (!TEST_ptr_null(PEM_read_bio_PrivateKey_ex(bio, &privkey, &passcb, NULL, libctx, NULL)))
crypto/openssl/test/decoder_propq_test.c
74
if (!TEST_ptr_null(PEM_read_bio_PrivateKey_ex(bio, &privkey, &passcb, NULL, libctx, "?fips=true")))
crypto/openssl/test/defltfips_test.c
47
if (!TEST_ptr_null(sha256)) {
crypto/openssl/test/destest.c
579
if (!TEST_ptr_null(DES_crypt("testing", "y\202")))
crypto/openssl/test/destest.c
581
if (!TEST_ptr_null(DES_crypt("testing", "\0A")))
crypto/openssl/test/destest.c
583
if (!TEST_ptr_null(DES_crypt("testing", "A")))
crypto/openssl/test/ec_internal_test.c
175
if (!TEST_ptr_null(group1 = EC_GROUP_new_curve_GF2m(p, a, b, ctx)))
crypto/openssl/test/ec_internal_test.c
181
if (!TEST_ptr_null(group2 = EC_GROUP_new_curve_GF2m(p, a, b, ctx)))
crypto/openssl/test/ec_internal_test.c
188
if (!TEST_ptr_null(group3 = EC_GROUP_new_curve_GF2m(p, a, b, ctx)))
crypto/openssl/test/ec_internal_test.c
328
|| !TEST_ptr_null(key->priv_key))
crypto/openssl/test/enginetest.c
290
if (!TEST_ptr_null(ctx = EVP_PKEY_CTX_new(pkey, e))
crypto/openssl/test/evp_extra_test.c
1033
|| !TEST_ptr_null(md = EVP_MD_fetch(ctx, "sha256", NULL))
crypto/openssl/test/evp_extra_test.c
2306
|| TEST_ptr_null(pkey);
crypto/openssl/test/evp_extra_test.c
2326
if (!TEST_ptr_null(pkey = EVP_PKCS82PKEY(p8inf)))
crypto/openssl/test/evp_extra_test.c
3755
|| !TEST_ptr_null(params[1].key))
crypto/openssl/test/evp_extra_test.c
4331
if (expect_null ? !TEST_ptr_null(pctx) : !TEST_ptr(pctx))
crypto/openssl/test/evp_extra_test.c
6130
if (!TEST_ptr_null(pkey)) {
crypto/openssl/test/evp_extra_test2.c
1554
|| !TEST_ptr_null(OSSL_PARAM_locate(pub_params, privtag)))
crypto/openssl/test/evp_extra_test2.c
1940
if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/evp_extra_test2.c
1958
|| !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/evp_extra_test2.c
1993
if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/evp_extra_test2.c
2015
if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL)))
crypto/openssl/test/evp_extra_test2.c
2043
if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL)))
crypto/openssl/test/evp_extra_test2.c
2052
if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL)))
crypto/openssl/test/evp_extra_test2.c
2096
if (!TEST_ptr_null(read_pkey))
crypto/openssl/test/evp_extra_test2.c
3164
|| !TEST_ptr_null(OSSL_PARAM_locate(to_params, OSSL_PKEY_PARAM_FFC_SEED)))
crypto/openssl/test/evp_extra_test2.c
3468
if (!TEST_ptr_null(md = EVP_MD_fetch(mainctx, "SHA256:BogusName", NULL))) {
crypto/openssl/test/evp_fetch_prov_test.c
211
if (!TEST_ptr_null(md))
crypto/openssl/test/evp_fetch_prov_test.c
328
if (!TEST_ptr_null(cipher))
crypto/openssl/test/evp_pkey_provided_test.c
1044
|| !TEST_ptr_null(j)
crypto/openssl/test/evp_pkey_provided_test.c
1252
|| !TEST_ptr_null(j)
crypto/openssl/test/evp_pkey_provided_test.c
1690
|| !TEST_ptr_null(pk))
crypto/openssl/test/evp_pkey_provided_test.c
1859
|| !TEST_ptr_null(kctx = EVP_PKEY_CTX_dup(ctx)))
crypto/openssl/test/evp_pkey_provided_test.c
2058
|| !TEST_ptr_null(j_out)
crypto/openssl/test/exdatatest.c
182
if (TEST_ptr_null(ex_data = CRYPTO_get_ex_data(&obj->ex_data, saved_idx3))
crypto/openssl/test/exdatatest.c
255
if (!TEST_ptr_null(CRYPTO_get_ex_data(&t1->ex_data, saved_idx3)))
crypto/openssl/test/exdatatest.c
274
if (!TEST_ptr_null(cp))
crypto/openssl/test/exdatatest.c
278
if (!TEST_ptr_null(cp))
crypto/openssl/test/exdatatest.c
35
|| !TEST_ptr_null(ptr))
crypto/openssl/test/exdatatest.c
79
|| !TEST_ptr_null(ptr)
crypto/openssl/test/helpers/handshake.c
354
if (!TEST_ptr_null(*out)
crypto/openssl/test/helpers/pkcs12.c
561
if (!TEST_ptr_null(PKCS12_SAFEBAG_get0_bag_obj(bag))) {
crypto/openssl/test/helpers/pkcs12.c
627
if (!TEST_ptr_null(PKCS12_SAFEBAG_get0_bag_type(bag))) {
crypto/openssl/test/hexstr_test.c
109
if (!TEST_ptr_null(buf = OPENSSL_hexstr2buf(test->in, &len)))
crypto/openssl/test/hmactest.c
114
|| !TEST_ptr_null(HMAC_CTX_get_md(ctx))
crypto/openssl/test/hmactest.c
140
|| !TEST_ptr_null(HMAC_CTX_get_md(ctx))
crypto/openssl/test/hpke_test.c
1525
if (!TEST_ptr_null(ctx = OSSL_HPKE_CTX_new(hpke_mode, bad_suite,
crypto/openssl/test/hpke_test.c
1530
if (!TEST_ptr_null(ctx = OSSL_HPKE_CTX_new(bad_mode, hpke_suite,
crypto/openssl/test/http_test.c
272
res = res && TEST_ptr_null(rsp)
crypto/openssl/test/http_test.c
398
&& TEST_ptr_null(host)
crypto/openssl/test/http_test.c
399
&& TEST_ptr_null(port)
crypto/openssl/test/http_test.c
400
&& TEST_ptr_null(path);
crypto/openssl/test/http_test.c
551
res = TEST_ptr_null(mem);
crypto/openssl/test/keymgmt_internal_test.c
233
if (!TEST_ptr_null(provkey2 = evp_pkey_export_to_provider(pk, NULL,
crypto/openssl/test/lhash_test.c
106
if (!TEST_ptr_null(lh_int_insert(h, int_tests + i))) {
crypto/openssl/test/list_test.c
131
if (!TEST_ptr_null(c) || !TEST_ptr_null(d))
crypto/openssl/test/list_test.c
148
if (!TEST_ptr_null(c) || !TEST_ptr_null(d))
crypto/openssl/test/list_test.c
172
if (!TEST_ptr_null(ossl_list_int_head(&l))
crypto/openssl/test/list_test.c
173
|| !TEST_ptr_null(ossl_list_int_tail(&l)))
crypto/openssl/test/ml_dsa_test.c
240
if (!TEST_ptr_null(key = ossl_ml_dsa_key_new(NULL, NULL, EVP_PKEY_ML_DSA_44))
crypto/openssl/test/ml_dsa_test.c
242
|| !TEST_ptr_null(key = ossl_ml_dsa_key_new(lib_ctx, "", NID_undef))
crypto/openssl/test/ml_dsa_test.c
244
|| !TEST_ptr_null(key1 = ossl_ml_dsa_key_dup(NULL, OSSL_KEYMGMT_SELECT_KEYPAIR))
crypto/openssl/test/ml_dsa_test.c
305
|| !TEST_ptr_null(EVP_PKEY_fromdata_settable(ctx, 0)))
crypto/openssl/test/ossl_store_test.c
135
ret = TEST_ptr_null(search = OSSL_STORE_SEARCH_by_key_fingerprint(
crypto/openssl/test/pairwise_fail_test.c
106
if (!TEST_ptr_null(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", "P-256")))
crypto/openssl/test/pairwise_fail_test.c
123
if (!TEST_ptr_null(pkey))
crypto/openssl/test/pairwise_fail_test.c
134
if (!TEST_ptr_null(pkey))
crypto/openssl/test/pairwise_fail_test.c
145
if (!TEST_ptr_null(pkey))
crypto/openssl/test/pairwise_fail_test.c
156
if (!TEST_ptr_null(pkey))
crypto/openssl/test/pairwise_fail_test.c
167
if (!TEST_ptr_null(pkey))
crypto/openssl/test/pairwise_fail_test.c
99
if (!TEST_ptr_null(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", (size_t)2048)))
crypto/openssl/test/params_api_test.c
657
if (!TEST_ptr_null(OSSL_PARAM_locate(p, "fnord")))
crypto/openssl/test/params_api_test.c
807
ret = TEST_ptr_null(OSSL_PARAM_dup(NULL))
crypto/openssl/test/params_api_test.c
822
&& TEST_ptr_null(OSSL_PARAM_merge(NULL, NULL));
crypto/openssl/test/pemtest.c
145
if (!TEST_ptr_null(pkey))
crypto/openssl/test/pkcs12_api_test.c
119
if ((has_key && !TEST_ptr(key)) || (!has_key && !TEST_ptr_null(key)))
crypto/openssl/test/pkcs12_api_test.c
121
if ((has_cert && !TEST_ptr(cert)) || (!has_cert && !TEST_ptr_null(cert)))
crypto/openssl/test/pkcs12_api_test.c
123
if ((has_ca && !TEST_ptr(ca)) || (!has_ca && !TEST_ptr_null(ca)))
crypto/openssl/test/property_test.c
229
if (!TEST_ptr_null(p = ossl_parse_query(NULL, ps, 1)))
crypto/openssl/test/property_test.c
231
} else if (!TEST_ptr_null(p = ossl_parse_property(NULL, ps))) {
crypto/openssl/test/property_test.c
516
|| !TEST_ptr_null(result)) {
crypto/openssl/test/property_test.c
548
|| !TEST_ptr_null(result)) {
crypto/openssl/test/property_test.c
78
&& TEST_ptr_null(ossl_property_name_str(ctx, 0))
crypto/openssl/test/property_test.c
79
&& TEST_ptr_null(ossl_property_name_str(ctx, 9))
crypto/openssl/test/property_test.c
97
&& TEST_ptr_null(ossl_property_value_str(ctx, 0))
crypto/openssl/test/property_test.c
98
&& TEST_ptr_null(ossl_property_value_str(ctx, 5))
crypto/openssl/test/provider_internal_test.c
116
if (!TEST_ptr_null(md = EVP_MD_fetch(ctx, "SHA256", NULL))) {
crypto/openssl/test/provider_pkey_test.c
420
if (!TEST_ptr_null(info))
crypto/openssl/test/provider_pkey_test.c
482
if (!TEST_ptr_null(ctx = OSSL_STORE_open_ex("fake_rsa:openpwtest", libctx,
crypto/openssl/test/provider_status_test.c
194
if (!TEST_ptr_null(fetch = EVP_MD_fetch(libctx, "SHA256", NULL)))
crypto/openssl/test/quic_cfq_test.c
147
if (!TEST_ptr_null(ossl_quic_cfq_get_priority_head(cfq, pn_space)))
crypto/openssl/test/quic_cfq_test.c
164
if (!TEST_ptr_null(ossl_quic_cfq_get_priority_head(cfq, pn_space)))
crypto/openssl/test/quic_cfq_test.c
78
if (!TEST_ptr_null(item))
crypto/openssl/test/quic_fifd_test.c
202
if (!TEST_ptr_null(ossl_quic_cfq_get_priority_head(info->cfq, pn_space)))
crypto/openssl/test/quic_multistream_test.c
1450
if (!TEST_ptr_null(c_tgt))
crypto/openssl/test/quic_multistream_test.c
1484
if (!TEST_ptr_null(c_tgt))
crypto/openssl/test/quic_multistream_test.c
1538
if (!TEST_ptr_null(c_tgt))
crypto/openssl/test/quic_multistream_test.c
1572
if (!TEST_ptr_null(c_stream = SSL_accept_stream(h->c_conn,
crypto/openssl/test/quic_multistream_test.c
1811
if (!TEST_ptr_null(h->threads)) {
crypto/openssl/test/quic_record_test.c
10081
if (!TEST_ptr_null(ptrs.raw_pn))
crypto/openssl/test/quic_record_test_util.h
44
if ((a->token_len == 0 && !TEST_ptr_null(a->token))
crypto/openssl/test/quic_record_test_util.h
45
|| (b->token_len == 0 && !TEST_ptr_null(b->token)))
crypto/openssl/test/quic_wire_test.c
1127
if (!TEST_ptr_null(p))
crypto/openssl/test/quic_wire_test.c
1155
if (!TEST_ptr_null(p))
crypto/openssl/test/quicapitest.c
2448
|| !TEST_ptr_null(SSL_get0_domain(other_conn))
crypto/openssl/test/quicapitest.c
2708
if (!TEST_ptr_null(ssl))
crypto/openssl/test/quicapitest.c
377
if (!TEST_ptr_null(SSL_CIPHER_find(clientquic,
crypto/openssl/test/quicapitest.c
821
if (!TEST_ptr_null(SSL_dup(ssl)))
crypto/openssl/test/quicapitest.c
864
if (!TEST_ptr_null(SSL_get_wbio(ssl)))
crypto/openssl/test/quicapitest.c
871
if (!TEST_ptr_null(SSL_get_rbio(ssl)))
crypto/openssl/test/radix/quic_bindings.c
555
if (!TEST_ptr_null(p))
crypto/openssl/test/radix/quic_bindings.c
567
|| !TEST_ptr_null(CRYPTO_THREAD_get_local(&radix_thread)))
crypto/openssl/test/radix/quic_ops.c
253
if (!TEST_ptr_null(RADIX_PROCESS_get_obj(RP(), listener_name)))
crypto/openssl/test/radix/quic_ops.c
304
if (!TEST_ptr_null(RADIX_PROCESS_get_obj(RP(), stream_name)))
crypto/openssl/test/radix/quic_ops.c
342
if (!TEST_ptr_null(RADIX_PROCESS_get_obj(RP(), conn_name)))
crypto/openssl/test/radix/quic_ops.c
384
if (!TEST_ptr_null(conn)) {
crypto/openssl/test/radix/quic_ops.c
407
if (!TEST_ptr_null(stream)) {
crypto/openssl/test/secmemtest.c
77
TEST_ptr_null(OPENSSL_secure_malloc((size_t)-1));
crypto/openssl/test/servername_test.c
220
if (!TEST_ptr_null(SSL_get_servername(serverssl,
crypto/openssl/test/slh_dsa_test.c
104
if (!TEST_ptr_null(pkey = slh_dsa_key_from_data(td->alg, pubdata,
crypto/openssl/test/slh_dsa_test.c
106
|| !TEST_ptr_null(pkey = slh_dsa_key_from_data(td->alg, pubdata,
crypto/openssl/test/sparse_array_test.c
44
|| !TEST_ptr_null(ossl_sa_char_get(sa, 3))
crypto/openssl/test/sparse_array_test.c
45
|| !TEST_ptr_null(ossl_sa_char_get(sa, 0))
crypto/openssl/test/sparse_array_test.c
46
|| !TEST_ptr_null(ossl_sa_char_get(sa, UINT_MAX)))
crypto/openssl/test/ssl_test_ctx_test.c
225
if (!TEST_ptr_null(ctx = SSL_TEST_CTX_create(conf,
crypto/openssl/test/sslapitest.c
11202
if (!TEST_ptr_null(store) || !TEST_ptr_null(cstore))
crypto/openssl/test/sslapitest.c
11245
if (!TEST_ptr_null(store) || !TEST_ptr_null(cstore))
crypto/openssl/test/sslapitest.c
11287
if (!TEST_ptr_null(store) || !TEST_ptr_null(cstore))
crypto/openssl/test/sslapitest.c
11330
if (!TEST_ptr_null(store) || !TEST_ptr_null(cstore))
crypto/openssl/test/sslapitest.c
12471
if (!TEST_ptr_null(out) || !TEST_uchar_eq(outlen, 0))
crypto/openssl/test/sslapitest.c
2363
|| !TEST_ptr_null(sess2->owner))
crypto/openssl/test/sslapitest.c
9455
} else if (!TEST_ptr_null(sktmp)) {
crypto/openssl/test/sslapitest.c
9668
if (!TEST_ptr_null(early->prev)
crypto/openssl/test/sslapitest.c
9675
if (!TEST_ptr_null(early->prev)
crypto/openssl/test/sslapitest.c
9676
|| !TEST_ptr_null(middle->prev)
crypto/openssl/test/sslapitest.c
9682
if (!TEST_ptr_null(early->prev)
crypto/openssl/test/sslapitest.c
9683
|| !TEST_ptr_null(middle->prev)
crypto/openssl/test/sslapitest.c
9684
|| !TEST_ptr_null(late->prev))
crypto/openssl/test/sslapitest.c
9701
if (!TEST_ptr_null(early->prev)
crypto/openssl/test/sslapitest.c
9702
|| !TEST_ptr_null(middle->prev)
crypto/openssl/test/sslapitest.c
9703
|| !TEST_ptr_null(late->prev))
crypto/openssl/test/stack_test.c
238
if (!TEST_ptr_null(sk_uchar_delete(r, 12)))
crypto/openssl/test/sysdefaulttest.c
28
if (!TEST_ptr_null(ctx))
crypto/openssl/test/test_test.c
224
|| !TEST(0, TEST_ptr_null(&y))
crypto/openssl/test/test_test.c
225
|| !TEST(1, TEST_ptr_null(NULL))
crypto/openssl/test/test_test.c
492
&& TEST_ptr_null(p = NULL)
crypto/openssl/test/threadpool_test.c
126
if (!TEST_ptr_null(t[0]))
crypto/openssl/test/threadpool_test.c
138
if (!TEST_ptr_null(t[0]))
crypto/openssl/test/threadpool_test.c
151
if (!TEST_ptr_null(t[0]))
crypto/openssl/test/threadstest.c
554
if (!TEST_ptr_null(ptr)
crypto/openssl/test/threadstest.c
576
if (!TEST_ptr_null(ptr)
crypto/openssl/test/threadstest.c
585
if (!TEST_ptr_null(ptr))
crypto/openssl/test/x509_acert_test.c
135
|| (!test->valid && !TEST_ptr_null(ias)))
crypto/openssl/test/x509_internal_test.c
157
if (!TEST_ptr_null(ip)) {
crypto/openssl/test/x509_test.c
190
|| !TEST_ptr_null(X509_get0_extensions(x509))
crypto/openssl/test/x509_test.c
205
if (!TEST_ptr_null(X509_get0_extensions(x509)))
crypto/openssl/test/x509_test.c
225
|| !TEST_ptr_null(X509_CRL_get0_extensions(crl))
crypto/openssl/test/x509_test.c
241
if (!TEST_ptr_null(X509_CRL_get0_extensions(crl)))
crypto/openssl/test/x509_test.c
261
|| !TEST_ptr_null(X509_REVOKED_get0_extensions(rev))
crypto/openssl/test/x509_test.c
276
if (!TEST_ptr_null(X509_REVOKED_get0_extensions(rev)))