pkcs7 should be part of the S/MIME shared library. I put it in the base NSS shared library to work around a circular dependency between the base NSS and S/MIME shared libraries. The circular dependency is caused by the file mozilla/security/nss/lib/certhigh/certread.c, which depends on some PKCS7 symbols. This bug does not need to be fixed in NSS 3.2 Beta but should be fixed in Beta 2. I can help you with the makefile work.
Created attachment 21762 [details] [diff] [review] A patch to move pkcs7 from libnss3.so to libsmime3.so. This patch contains a temp workaround to the certread.c problem.
I checked in the patch (id=21762).
Created attachment 21801 [details] [diff] [review] A patch to move certread.c from lib/certhigh to lib/pkcs7 and remove the temporary workaround in coreconf/rules.mk.
After discussing with Bob and Nelson, I decided to fix this circular dependency by moving certread.c from lib/certhigh to lib/pkcs7. As a result of this move I have to export one more data symbol (SECAnyTemplate) from libnss3.so. :-(
Assignee: kirke → wtc
I checked in the second patch (id=21801).
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.