Lines Matching refs:TEST_ptr
64 if (!TEST_ptr(new_h1 = ENGINE_new())
67 || !TEST_ptr(new_h2 = ENGINE_new())
70 || !TEST_ptr(new_h3 = ENGINE_new())
73 || !TEST_ptr(new_h4 = ENGINE_new())
154 if (!TEST_ptr(block[loop] = ENGINE_new())
262 if (!TEST_ptr(pkey = get_test_pkey()))
266 if (!TEST_ptr(tmp = OPENSSL_malloc(len)))
269 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new(pkey, NULL)))
281 if (!TEST_ptr(e = ENGINE_new())
296 if (!TEST_ptr(test_rsa = EVP_PKEY_meth_new(EVP_PKEY_RSA, 0)))
301 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new(pkey, e)))
313 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new(pkey, e)))
326 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new(pkey, NULL))
342 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new(pkey, NULL))
367 if (!TEST_ptr(b = BIO_new_file(test_get_argument(0), "r"))
368 || !TEST_ptr(cert = PEM_read_bio_X509(b, NULL, NULL, NULL)))
372 if (!TEST_ptr(dupcert = X509_dup(cert)))
377 if (!TEST_ptr(pubkey = X509_get_X509_PUBKEY(cert))
378 || !TEST_ptr(duppubkey = X509_PUBKEY_dup(pubkey))
390 if (!TEST_ptr(e = ENGINE_new())
395 if (!TEST_ptr(rsameth = RSA_meth_dup(RSA_get_default_method())))
404 || !TEST_ptr(cert = PEM_read_bio_X509(b, NULL, NULL, NULL)))
408 if (!TEST_ptr(dupcert = X509_dup(cert)))
411 if (!TEST_ptr(pubkey = X509_get_X509_PUBKEY(cert))
412 || !TEST_ptr(duppubkey = X509_PUBKEY_dup(pubkey))