Third argument to shl_load() is "long address", not a pointer.
authorLutz Jänicke <jaenicke@openssl.org>
Wed, 8 Jan 2003 08:26:59 +0000 (08:26 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Wed, 8 Jan 2003 08:26:59 +0000 (08:26 +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 195717e9935b2b6d9c5b8e7a106b66bed8ad96d7..79d2cb4d8c8dae3d7e404b517286fbf5cbdcbcb7 100644 (file)
@@ -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|DYNAMIC_PATH, NULL);
+       ptr = shl_load(filename, BIND_IMMEDIATE|DYNAMIC_PATH, 0L);
        if(ptr == NULL)
                {
                DSOerr(DSO_F_DL_LOAD,DSO_R_LOAD_FAILED);