• Home
  • Raw
  • Download

Lines Matching refs:TEST_ptr

55     if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))  in set_up()
58 if (!TEST_ptr(fixture->cmp_ctx = OSSL_CMP_CTX_new(libctx, NULL))) { in set_up()
88 int res = TEST_ptr(protection) in execute_calc_protection_pbmac_test()
115 && TEST_ptr(ctx = EVP_MD_CTX_new()) in verify_signature()
132 int ret = (TEST_ptr(protection) in execute_calc_protection_signature_test()
146 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_unprotected_f, libctx)) in test_cmp_calc_protection_no_key_no_secret()
147 || !TEST_ptr(fixture->msg->header->protectionAlg = in test_cmp_calc_protection_no_key_no_secret()
162 || !TEST_ptr(fixture->msg = load_pkimsg(ir_protected_f, libctx))) { in test_cmp_calc_protection_pkey()
177 || !TEST_ptr(fixture->msg = load_pkimsg(ip_PBM_f, libctx))) { in test_cmp_calc_protection_pbmac()
197 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected)) in test_MSG_protect_unprotected_request()
213 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected)) in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
236 if (!TEST_ptr(fixture->msg = in test_MSG_protect_with_certificate_and_key()
255 if (!TEST_ptr(fixture->msg = in test_MSG_protect_certificate_based_without_cert()
271 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected)) in test_MSG_protect_no_key_no_secret()
287 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected)) in test_MSG_protect_pbmac_no_sender()
321 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_protected))) { in test_MSG_add_extraCerts()
340 if (TEST_ptr(chain)) { in execute_cmp_build_cert_chain_test()
348 if (TEST_ptr(store = X509_STORE_new()) in execute_cmp_build_cert_chain_test()
371 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain()
372 || !TEST_ptr(fixture->chain = sk_X509_new_null()) in test_cmp_build_cert_chain()
397 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain_missing_intermediate()
398 || !TEST_ptr(fixture->chain = sk_X509_new_null()) in test_cmp_build_cert_chain_missing_intermediate()
415 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain_no_root()
416 || !TEST_ptr(fixture->chain = sk_X509_new_null()) in test_cmp_build_cert_chain_no_root()
434 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain_only_root()
435 || !TEST_ptr(fixture->chain = sk_X509_new_null()) in test_cmp_build_cert_chain_only_root()
451 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain_no_certs()
452 || !TEST_ptr(fixture->chain = sk_X509_new_null()) in test_cmp_build_cert_chain_no_certs()
487 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_X509_STORE()
492 || !TEST_ptr(fixture->chain = sk_X509_dup(fixture->certs))) { in test_X509_STORE()
555 if (!TEST_ptr(server_f = test_get_argument(0)) in OPT_TEST_DECLARE_USAGE()
556 || !TEST_ptr(ir_protected_f = test_get_argument(1)) in OPT_TEST_DECLARE_USAGE()
557 || !TEST_ptr(ir_unprotected_f = test_get_argument(2)) in OPT_TEST_DECLARE_USAGE()
558 || !TEST_ptr(ip_PBM_f = test_get_argument(3)) in OPT_TEST_DECLARE_USAGE()
559 || !TEST_ptr(server_cert_f = test_get_argument(4)) in OPT_TEST_DECLARE_USAGE()
560 || !TEST_ptr(server_key_f = test_get_argument(5)) in OPT_TEST_DECLARE_USAGE()
561 || !TEST_ptr(endentity1_f = test_get_argument(6)) in OPT_TEST_DECLARE_USAGE()
562 || !TEST_ptr(endentity2_f = test_get_argument(7)) in OPT_TEST_DECLARE_USAGE()
563 || !TEST_ptr(root_f = test_get_argument(8)) in OPT_TEST_DECLARE_USAGE()
564 || !TEST_ptr(intermediate_f = test_get_argument(9))) { in OPT_TEST_DECLARE_USAGE()
572 if (!TEST_ptr(loadedkey = load_pkey_pem(server_key_f, libctx)) in OPT_TEST_DECLARE_USAGE()
573 || !TEST_ptr(cert = load_cert_pem(server_cert_f, libctx))) in OPT_TEST_DECLARE_USAGE()
576 if (!TEST_ptr(loadedprivkey = load_pkey_pem(server_f, libctx))) in OPT_TEST_DECLARE_USAGE()
580 if (!TEST_ptr(ir_protected = load_pkimsg(ir_protected_f, libctx)) in OPT_TEST_DECLARE_USAGE()
581 || !TEST_ptr(ir_unprotected = load_pkimsg(ir_unprotected_f, libctx))) in OPT_TEST_DECLARE_USAGE()
583 if (!TEST_ptr(endentity1 = load_cert_pem(endentity1_f, libctx)) in OPT_TEST_DECLARE_USAGE()
584 || !TEST_ptr(endentity2 = load_cert_pem(endentity2_f, libctx)) in OPT_TEST_DECLARE_USAGE()
585 || !TEST_ptr(root = load_cert_pem(root_f, libctx)) in OPT_TEST_DECLARE_USAGE()
586 || !TEST_ptr(intermediate = load_cert_pem(intermediate_f, libctx))) in OPT_TEST_DECLARE_USAGE()