> Maybe the place for the module to be loaded is in shell/main.c?I would do changes only in evolution-data-server. Either load the
> Or in camel/camel-smime-context.c when actually needed to fetch a
> certificate.
>
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).
By the way, is the code publicly available anywhere, thus others can
look in it?