diff options
-rw-r--r-- | engines/ccgost/gost2814789t.c | 4 | ||||
-rw-r--r-- | test/Makefile | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/engines/ccgost/gost2814789t.c b/engines/ccgost/gost2814789t.c index a59ac92..ded5b34 100644 --- a/engines/ccgost/gost2814789t.c +++ b/engines/ccgost/gost2814789t.c @@ -28,7 +28,6 @@ int main(int argc, char *argv[]) #include <openssl/obj_mac.h> #define CCGOST_ID "gost" -#define CCGOST_DIR "../engines/ccgost" #include "../engines/ccgost/gost89.h" @@ -1403,9 +1402,6 @@ int main(int argc, char *argv[]) /* * ccgost engine test on GostR3411_94_CryptoProParamSet */ - #ifndef OPENSSL_NO_DYNAMIC_ENGINE - setenv("OPENSSL_ENGINES", CCGOST_DIR, 1); - #endif ERR_load_crypto_strings(); ENGINE_load_builtin_engines(); OPENSSL_load_builtin_modules(); diff --git a/test/Makefile b/test/Makefile index 3f78c68..601ea1b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -255,7 +255,7 @@ test_rand: $(RANDTEST)$(EXE_EXT) ../util/shlib_wrap.sh ./$(RANDTEST) test_gost2814789: $(GOST2814789TEST)$(EXE_EXT) - ../util/shlib_wrap.sh ./$(GOST2814789TEST) + OPENSSL_ENGINES=../engines/ccgost ../util/shlib_wrap.sh ./$(GOST2814789TEST) test_enc: ../apps/openssl$(EXE_EXT) testenc @sh ./testenc |