Lines Matching refs:TEST_ptr

55     if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
58 if (!TEST_ptr(fixture->cmp_ctx = OSSL_CMP_CTX_new(libctx, NULL))) {
88 int res = TEST_ptr(protection)
115 && TEST_ptr(ctx = EVP_MD_CTX_new())
132 int ret = (TEST_ptr(protection)
146 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_unprotected_f, libctx))
147 || !TEST_ptr(fixture->msg->header->protectionAlg =
162 || !TEST_ptr(fixture->msg = load_pkimsg(ir_protected_f, libctx))) {
177 || !TEST_ptr(fixture->msg = load_pkimsg(ip_PBM_f, libctx))) {
197 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected))
213 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected))
236 if (!TEST_ptr(fixture->msg =
255 if (!TEST_ptr(fixture->msg =
271 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected))
287 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected))
321 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_protected))) {
340 if (TEST_ptr(chain)) {
348 if (TEST_ptr(store = X509_STORE_new())
371 if (!TEST_ptr(fixture->certs = sk_X509_new_null())
372 || !TEST_ptr(fixture->chain = sk_X509_new_null())
397 if (!TEST_ptr(fixture->certs = sk_X509_new_null())
398 || !TEST_ptr(fixture->chain = sk_X509_new_null())
415 if (!TEST_ptr(fixture->certs = sk_X509_new_null())
416 || !TEST_ptr(fixture->chain = sk_X509_new_null())
434 if (!TEST_ptr(fixture->certs = sk_X509_new_null())
435 || !TEST_ptr(fixture->chain = sk_X509_new_null())
451 if (!TEST_ptr(fixture->certs = sk_X509_new_null())
452 || !TEST_ptr(fixture->chain = sk_X509_new_null())
487 if (!TEST_ptr(fixture->certs = sk_X509_new_null())
492 || !TEST_ptr(fixture->chain = sk_X509_dup(fixture->certs))) {
557 if (!TEST_ptr(server_f = test_get_argument(0))
558 || !TEST_ptr(ir_protected_f = test_get_argument(1))
559 || !TEST_ptr(ir_unprotected_f = test_get_argument(2))
560 || !TEST_ptr(ip_PBM_f = test_get_argument(3))
561 || !TEST_ptr(server_cert_f = test_get_argument(4))
562 || !TEST_ptr(server_key_f = test_get_argument(5))
563 || !TEST_ptr(endentity1_f = test_get_argument(6))
564 || !TEST_ptr(endentity2_f = test_get_argument(7))
565 || !TEST_ptr(root_f = test_get_argument(8))
566 || !TEST_ptr(intermediate_f = test_get_argument(9))) {
574 if (!TEST_ptr(loadedkey = load_pkey_pem(server_key_f, libctx))
575 || !TEST_ptr(cert = load_cert_pem(server_cert_f, libctx)))
578 if (!TEST_ptr(loadedprivkey = load_pkey_pem(server_f, libctx)))
582 if (!TEST_ptr(ir_protected = load_pkimsg(ir_protected_f, libctx))
583 || !TEST_ptr(ir_unprotected = load_pkimsg(ir_unprotected_f, libctx)))
585 if (!TEST_ptr(endentity1 = load_cert_pem(endentity1_f, libctx))
586 || !TEST_ptr(endentity2 = load_cert_pem(endentity2_f, libctx))
587 || !TEST_ptr(root = load_cert_pem(root_f, libctx))
588 || !TEST_ptr(intermediate = load_cert_pem(intermediate_f, libctx)))