Hi, Nelson!
Thanks for the quick reply. Let me clear up myself. Here's what's happening:
You're using NSS 3.4?
The current NSS is 3.11 .
I am using NSS 3.11, the 3.4 I was referring to is from the list of
public methods on Mozilla page
(http://www.mozilla.org/projects/security/pki/nss/nss-3.4/nss-3.4-functions.html)
The crlutil code, however, uses method SECU_ReadDERFromFile, which is
not exported as public, and I get a failure during linking stage trying
to use sectool.lib.
Um, it's not?
It was listed in the header under /private, so I assumed it's not.
Thanks for clearing this up.
What problem are you having linking with sectool.lib?
What error do you get?
If I link sectool and nss3 (for other calls my application does) during
linking stage, I get a bunch of errors about method redefinitions
(already defined in nss3) and I get an error about MSVCRT conflicting
with use of other libs.
secutil.lib(secoid.obj) : error LNK2005: _SECOID_FindOID already defined
in nss3.lib(nss3.dll)
.... (many others) ....
secutil.lib(secasn1d.obj) : warning LNK4006: _SEC_ASN1DecodeItem already
defined in nss3.lib(nss3.dll); second definition ignored
... (many others) ...
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
libs; use /NODEFAULTLIB:library
Thanks.
_______________________________________________
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto