diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-07-23 17:19:48 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-07-24 18:18:54 +0100 |
commit | 8e55e6de45f715d4a2e0b31775c1c739ce90c1d5 (patch) | |
tree | a08f9bffb88d694479d40bf44dd8da83aad3f5e5 /engines/ccgost | |
parent | ceea4bf047abf369debf5c312928331f107400c6 (diff) | |
download | openssl-8e55e6de45f715d4a2e0b31775c1c739ce90c1d5.tar.gz |
Don't call setenv in gost2814789t.c
The call to setenv in gost2814789t.c is not portable and may
not reflect the location of the GOST ENGINE on all platforms anyway.
Instead set OPENSSL_ENGINES in test/Makefile
Reviewed-by: Geoff Thorpe <geoff@openssl.org>
Diffstat (limited to 'engines/ccgost')
-rw-r--r-- | engines/ccgost/gost2814789t.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/ccgost/gost2814789t.c b/engines/ccgost/gost2814789t.c index a59ac92409..ded5b3405f 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(); |