On Mon, Sep 28, 2009 at 3:26 AM, Konstantin Andreev <[email protected]> wrote: > Hello. > > I need to share some potion of code between softoken and nss libraries (to > be exact, I need to parse GOST-specific der-encoded data). > > What is the best way to manage this ? I suppose I need to compile and > statically link some source file into the both libraries. But which place in > the source tree is best to store such shared source ? Please, direct me.
A good place for the shared code is mozilla/security/nss/lib/util. It is a shared library (libnssutil3.so/nssutil3.dll) used by both the softoken and nss libraries. Wan-Teh -- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

