X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_context.c;h=1e284c0689fab2879fdcb0039a2d966b766d55e4;hb=f3e84b52d2c5bf6774070b758714b90845d722d2;hp=0db2163f7f117edb30deb11f6910722df503988a;hpb=336c30e54ca42f54641ee06c9dce26ecd454b6ea;p=openssl-gost%2Fengine.git diff --git a/test_context.c b/test_context.c index 0db2163..1e284c0 100644 --- a/test_context.c +++ b/test_context.c @@ -245,13 +245,7 @@ int main(int argc, char **argv) { int ret = 0; - setenv("OPENSSL_ENGINES", ENGINE_DIR, 0); OPENSSL_add_all_algorithms_conf(); - ERR_load_crypto_strings(); - ENGINE *eng; - T(eng = ENGINE_by_id("gost")); - T(ENGINE_init(eng)); - T(ENGINE_set_default(eng, ENGINE_METHOD_ALL)); const struct testcase_cipher *tc; for (tc = testcases_ciphers; tc->nid; tc++) { @@ -263,9 +257,6 @@ int main(int argc, char **argv) ret |= test_contexts_digest(td->nid, td->mac); } - ENGINE_finish(eng); - ENGINE_free(eng); - if (ret) printf(cDRED "= Some tests FAILED!" cNORM "\n"); else