file nss/lib/pkcs7/certread.c contains a function CERT_CertPackageType which is declared in public header cert.h. But according to mxr, that function is not exported in any .def file. It is not used anywhere in NSS. It is dead code. Let's nuke it.
Created attachment 330283 [details] [diff] [review] Remove dead function
Comment on attachment 330283 [details] [diff] [review] Remove dead function This should do the job.
Thanks, Nelson. I checked this in to the trunk. Checking in certdb/cert.h; /cvsroot/mozilla/security/nss/lib/certdb/cert.h,v <-- cert.h new revision: 1.73; previous revision: 1.72 done Checking in pkcs7/certread.c; /cvsroot/mozilla/security/nss/lib/pkcs7/certread.c,v <-- certread.c new revision: 1.13; previous revision: 1.12 done