aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_list.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-06-01 03:18:58 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-06-01 03:18:58 +0000
commit9081980565988d351582998148782a8c91a55e93 (patch)
treefa4e3068e81ec6f22d42877968ba7371e5053d33 /crypto/engine/eng_list.c
parent393b704d282909dff28bdca80e2d8a1d404086f4 (diff)
downloadopenssl-9081980565988d351582998148782a8c91a55e93.tar.gz
This fixes the installation target for dynamic engines, which was trying to
install to a different location than it had created. (BTW, VMS will need a matching fix in eng_list.c.) Note, these aren't ssl-specific, so I'm putting "engines/" into the libs directory rather than at the "--prefix" level or inside "ssl/".
Diffstat (limited to 'crypto/engine/eng_list.c')
-rw-r--r--crypto/engine/eng_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/eng_list.c b/crypto/engine/eng_list.c
index 67d67df3ce..f337e0f3bc 100644
--- a/crypto/engine/eng_list.c
+++ b/crypto/engine/eng_list.c
@@ -397,7 +397,7 @@ ENGINE *ENGINE_by_id(const char *id)
#ifdef OPENSSL_SYS_VMS
if((load_dir = getenv("OPENSSL_ENGINES")) == 0) load_dir = "SSLROOT:[ENGINES]";
#else
- if((load_dir = getenv("OPENSSL_ENGINES")) == 0) load_dir = OPENSSLDIR "/engines";
+ if((load_dir = getenv("OPENSSL_ENGINES")) == 0) load_dir = ENGINESDIR;
#endif
iterator = ENGINE_by_id("dynamic");
if(!iterator || !ENGINE_ctrl_cmd_string(iterator, "ID", id, 0) ||