Home
last modified time | relevance | path

Searched refs:tmpctx (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dasynctest.c49 OSSL_LIB_CTX *oldctx, *tmpctx; in change_deflt_libctx() local
59 tmpctx = OSSL_LIB_CTX_set0_default(oldctx); in change_deflt_libctx()
60 if (tmpctx != libctx) in change_deflt_libctx()
68 tmpctx = OSSL_LIB_CTX_set0_default(oldctx); in change_deflt_libctx()
69 if (tmpctx != libctx) in change_deflt_libctx()
348 OSSL_LIB_CTX *oldctx, *tmpctx, *globalctx; in test_ASYNC_start_job_ex() local
369 tmpctx = OSSL_LIB_CTX_set0_default(oldctx); in test_ASYNC_start_job_ex()
370 oldctx = OSSL_LIB_CTX_set0_default(tmpctx); in test_ASYNC_start_job_ex()
371 if (tmpctx != libctx) { in test_ASYNC_start_job_ex()
385 tmpctx = OSSL_LIB_CTX_set0_default(oldctx); in test_ASYNC_start_job_ex()
[all …]
H A Devp_extra_test.c3210 OSSL_LIB_CTX *tmpctx = OSSL_LIB_CTX_new(); in test_pkey_ctx_fail_without_provider() local
3217 if (!TEST_ptr(tmpctx)) in test_pkey_ctx_fail_without_provider()
3220 tmpnullprov = OSSL_PROVIDER_load(tmpctx, "null"); in test_pkey_ctx_fail_without_provider()
3253 pctx = EVP_PKEY_CTX_new_from_name(tmpctx, keytype, ""); in test_pkey_ctx_fail_without_provider()
3265 OSSL_LIB_CTX_free(tmpctx); in test_pkey_ctx_fail_without_provider()
H A Devp_test.c1337 OSSL_LIB_CTX *tmpctx; in mac_test_run_pkey()
1349 tmpctx = OSSL_LIB_CTX_set0_default(libctx); in mac_test_run_pkey()
1352 OSSL_LIB_CTX_set0_default(tmpctx); in mac_test_run_pkey()
H A Dsslapitest.c9306 OSSL_LIB_CTX *tmpctx = OSSL_LIB_CTX_new(); in test_sigalgs_available() local
9311 if (!TEST_ptr(tmpctx)) in test_sigalgs_available()
9315 if (!TEST_true(OSSL_PROVIDER_add_builtin(tmpctx, "filter", in test_sigalgs_available()
9319 filterprov = OSSL_PROVIDER_load(tmpctx, "filter"); in test_sigalgs_available()
9342 clientctx = tmpctx; in test_sigalgs_available()
9344 serverctx = tmpctx; in test_sigalgs_available()
9431 OSSL_LIB_CTX_free(tmpctx); in test_sigalgs_available()
/freebsd/crypto/openssl/crypto/store/
H A Dstore_lib.c201 OSSL_STORE_CTX tmpctx = { NULL, }; in OSSL_STORE_open_ex() local
203 tmpctx.fetched_loader = fetched_loader; in OSSL_STORE_open_ex()
204 tmpctx.loader = loader; in OSSL_STORE_open_ex()
205 tmpctx.loader_ctx = loader_ctx; in OSSL_STORE_open_ex()
212 (void)ossl_store_close_it(&tmpctx); in OSSL_STORE_open_ex()