Closed Bug 1668123 Opened 4 years ago Closed 4 years ago

CERT_AddCertToListHeadWithData and CERT_AddCertToListTailWithData are not exported from libnss

Categories

(NSS :: Build, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: kjacobs)

Details

Attachments

(1 file)

They are missing from lib/nss/nss.def, while they are declared in lib/certdb/cert.h, along CERT_AddCertToListHead and CERT_AddCertToListTail.

Is there a use case for exporting these functions? I don't see them in security/nss.symbols, and not everything in cert.h should be exported.

Flags: needinfo?(mh+mozilla)

You'll have to ask the person who reported https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971379, but if things are not supposed to be exported, they surely shouldn't appear in public headers, which cert.h is. It also seems inconsistent that CERT_AddCertToListHead and CERT_AddCertToListTail are exported but not the same functions with a WithData suffix.

Flags: needinfo?(mh+mozilla)
Assignee: nobody → kjacobs.bugzilla
Severity: -- → N/A
Status: NEW → ASSIGNED
Type: defect → enhancement
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: