Re: [Evolution-hackers] Loading of PKCS#11 module





On Tue, Aug 19, 2014 at 4:16 AM, Milan Crha <mcrha redhat com> wrote:
> Maybe the place for the module to be loaded is in shell/main.c?
> Or in camel/camel-smime-context.c when actually needed to fetch a
> certificate.
>

I would do changes only in evolution-data-server. Either load the
module on demand (which sounds like a good plan), or load it during
the camel_init() call (eds/camel/camel.c). There is a camel_shutdown()
counterpart too, but if you cannot figure out why the segfault happens
then do not unload it (maybe the NSS_Shutdown() unloads it for you).

Thanks, I'll take a look.

By the way, is the code publicly available anywhere, thus others can
look in it?
 
Sure, here it is:
https://github.com/yuumasato/evolution-pkcs11


--
Watson Yuuma Sato


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]