Third argument to shl_load() is "long address", not a pointer.
authorLutz Jänicke <jaenicke@openssl.org>
Wed, 8 Jan 2003 08:27:50 +0000 (08:27 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Wed, 8 Jan 2003 08:27:50 +0000 (08:27 +0000)
(Didn't influence functionality, as on HP-UX 32bit the NULL pointer
is a 32bit 0-value and thus is identical to the required 0L.)

PR: 443

crypto/dso/dso_dl.c

index 32a8d41bf74986ac8ee584908e0eeeb1575be475..fd1c7582608c52c63de1854abf82fbaa9c4c2952 100644 (file)
@@ -128,7 +128,7 @@ 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, NULL);
+       ptr = shl_load(filename, BIND_IMMEDIATE|DYNAMIC_PATH, 0L);
        if(ptr == NULL)
                {
                DSOerr(DSO_F_DL_LOAD,DSO_R_LOAD_FAILED);