summaryrefslogtreecommitdiffstats
path: root/crypto/dso
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-07 11:25:26 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-07 11:25:26 +0000
commite06433d9baeec055d6d3e504bcbbfce680995581 (patch)
tree8fc316a3923a22caa22d4647358ed878df74a2eb /crypto/dso
parente0bf5c11ea389fa3bacecdf4f3f9d22835a7508a (diff)
shl_load() also needs to load along a path given through an
environment variable, SHLIB_PATH. This change makes that possible.
Diffstat (limited to 'crypto/dso')
-rw-r--r--crypto/dso/dso_dl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dso/dso_dl.c b/crypto/dso/dso_dl.c
index c38d8863e5..4dbb51fb8c 100644
--- a/crypto/dso/dso_dl.c
+++ b/crypto/dso/dso_dl.c
@@ -126,7 +126,7 @@ static int dl_load(DSO *dso)
DSOerr(DSO_F_DL_LOAD,DSO_R_NO_FILENAME);
goto err;
}
- ptr = shl_load(filename, BIND_IMMEDIATE, NULL);
+ ptr = shl_load(filename, BIND_IMMEDIATE|DYNAMIC_PATH, NULL);
if(ptr == NULL)
{
DSOerr(DSO_F_DL_LOAD,DSO_R_LOAD_FAILED);