Closed Bug 294555 Opened 20 years ago Closed 18 years ago

unexported api calls in p12plcy.h

Categories

(NSS :: Libraries, defect, P2)

3.10
x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
3.11.8

People

(Reporter: jason.m.reid, Assigned: neil.williams)

Details

Attachments

(1 file)

The following api calls in p12plcy.h are not found in a .def file. SEC_PKCS12DecryptionAllowed NOT exported SEC_PKCS12GetPreferredEncryptionAlgorithm NOT exported SEC_PKCS12GetStrongestAllowedAlgorithm NOT exported
QA Contact: bishakhabanerjee → jason.m.reid
Assignee: wtchang → nobody
QA Contact: jason.m.reid → libraries
So, we need to decide: are these functions intended to be "public"? then if so, we need to add them to the relevant .def file, and if not, we need to move these declarations to another file, or enclose them in an #ifdef with some symbol like PKCS12_private.
Assignee: nobody → neil.williams
Priority: -- → P2
Target Milestone: --- → 3.11.2
Retargetting all P2s to 3.11.3 .
Target Milestone: 3.11.2 → 3.11.3
Target Milestone: 3.11.3 → 3.11.8
Status: NEW → ASSIGNED
All 3 functions are defined in p12plcy.c They are not the only external functions in p12plcy.c so we cannot remove that source file, but we can remove the definition of those functions from the source file.
The 2 Get* functions are not used anywhere except in dead pkcs12 lib code. A separate bug will be opened about that. SEC_PKCS12DecryptionAllowed is used in pk12util.
Attachment #273073 - Flags: review?(nelson)
Attachment #273073 - Flags: review?(nelson) → review+
Checking in nss/lib/pkcs12/p12plcy.c; /cvsroot/mozilla/security/nss/lib/pkcs12/p12plcy.c,v <-- p12plcy.c new revision: 1.7; previous revision: 1.6 done Checking in nss/lib/pkcs12/p12plcy.h; /cvsroot/mozilla/security/nss/lib/pkcs12/p12plcy.h,v <-- p12plcy.h new revision: 1.4; previous revision: 1.3 done Checking in nss/lib/smime/smime.def; /cvsroot/mozilla/security/nss/lib/smime/smime.def,v <-- smime.def new revision: 1.34; previous revision: 1.33 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: