Closed Bug 1662738 Opened 4 years ago Closed 4 years ago

freebl_fips_RNG_PowerUpSelfTest depends on NSPR

Categories

(NSS :: Libraries, defect)

Unspecified
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ueno, Assigned: ueno)

Details

Attachments

(1 file)

If either libnspr4.so or libnssutil3.so is not loaded already, freebl only exercises the minimal tests that do not depend on those shared libs; those minimal set includes SHA-1/2 and RNG tests.

However, after bug 1560329, a new dependency on PR_CallOnce (in nspr) has been introduced in the RNG test. That causes applications only link to libfreebl3.so to crash because the function symbol cannot be resolved.

After the continuous DRBG test was added, RNG self-tests have no longer worked standalone. This moves the self-tests to the DO_REST block so it only runs when the program is also linked to NSPR.

Assignee: nobody → dueno
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: