Open Bug 845217 Opened 11 years ago Updated 6 months ago

Allow to override the name of the library used for PORT_LoadLibraryFromOrigin in pk11wrap/pk11load.c

Categories

(NSS :: Libraries, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: glandium, Unassigned)

Details

Currently, the softoken_LoadDSO uses PORT_LoadLibraryFromOrigin to find the soft token. PORT_LoadLibraryFromOrigin uses PR_GetLibraryFilePathname under the hood, which requires the name of the calling library, and in pk11wrap/pk11load.c, it's hardcoded to SHLIB_PREFIX"nss"SHLIB_VERSION"."SHLIB_SUFFIX. In order to allow the base nss libraries to be folded with other libraries and be renamed, this needs to allow an override.
Severity: normal → S3
Severity: S3 → N/A
Type: defect → enhancement
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.