Lines Matching defs:legacy
38 OSSL_PROVIDER *legacy)
45 int dolegacycheck = (legacy != NULL);
102 OSSL_PROVIDER_unload(legacy);
103 legacy = NULL;
106 /* Legacy provider should also be unloaded from child libctx */
111 * Loading the legacy provider again should make it available again in
116 legacy = OSSL_PROVIDER_load(*libctx, "legacy");
123 if (!TEST_ptr(legacy)
128 OSSL_PROVIDER_unload(legacy);
129 legacy = NULL;
152 OSSL_PROVIDER_unload(legacy);
153 legacy = NULL;
233 /* Test relies on fetching the MD4 digest from the legacy provider */
239 OSSL_PROVIDER *legacy;
244 legacy = OSSL_PROVIDER_load(libctx, "legacy");
245 if (legacy == NULL) {
247 * In this case we assume we've been built with "no-legacy" and skip
256 OSSL_PROVIDER_unload(legacy);
261 /* test_provider will free libctx and unload legacy as part of the test */
262 return test_provider(&libctx, name, legacy);