Julien Pierre wrote:
> Wei Shao wrote:
>
> > In my local set up, I have added a new method in cryptohi.h and
> > implement it in secsign.c.
> > The compilation is okay. But I try to use it in certutil/certutil.c and
> > got an undefined symbol linking error for my added API. Same error if
> > after I make  clean first.
> >
> > I noticed the public .h file under dist/ is updated with my API.  The
> > libnss3.so is also including the new secsign.o.  What is missing?
>
> 1) You need to update nss.def to list your symbol in there

thanks! that's it.

> 2) Don't forget to contribute your NSS changes, as required by the MPL

Sure, I will after I make it all working.

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to