aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dso
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-06-09 20:52:24 +0000
committerAndy Polyakov <appro@openssl.org>2005-06-09 20:52:24 +0000
commit79e1dd65ab0e0e852174a45f93ce7dbefae43f09 (patch)
tree6c333fcfbacdbe74e94f0a7e6c29643a28dabddf /crypto/dso
parent13e393607b23fd47e4d2dbba2188356062fd2a27 (diff)
downloadopenssl-79e1dd65ab0e0e852174a45f93ce7dbefae43f09.tar.gz
Allow for dso load by explicit path on HP-UX.
Diffstat (limited to 'crypto/dso')
-rw-r--r--crypto/dso/dso_dl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/dso/dso_dl.c b/crypto/dso/dso_dl.c
index 2de01b09e1..4d599246c8 100644
--- a/crypto/dso/dso_dl.c
+++ b/crypto/dso/dso_dl.c
@@ -130,7 +130,8 @@ static int dl_load(DSO *dso)
DSOerr(DSO_F_DL_LOAD,DSO_R_NO_FILENAME);
goto err;
}
- ptr = shl_load(filename, BIND_IMMEDIATE|DYNAMIC_PATH, 0L);
+ ptr = shl_load(filename, BIND_IMMEDIATE |
+ (dso->flags&DSO_FLAG_NO_NAME_TRANSLATION?0:DYNAMIC_PATH), 0L);
if(ptr == NULL)
{
DSOerr(DSO_F_DL_LOAD,DSO_R_LOAD_FAILED);