Re: Patch: NSS certificates storage fixes



Approved, please commit (after removing the debugging g_print)

On Tue, 2008-02-05 at 13:32 +0100, Jose Dapena Paz wrote:
> 	Hi,
> 
> 	This patch implements some changes required to store properly
> certificate db's when we use tinymail-camel initialized in a DLL.
> 
> 	They are basically two changes:
> 	* One is exporting functionality of camel_shutdown method. This way we
> can call it from outside if required. This can be needed in the case of
> being loaded with a DLL as we'll never get atexit call.
> 	* Another one is the way we calculate the certificates fingerprint. I
> modified the implementation, as the old one was not getting consistent
> fingerprints in different calls to cert_fingerprint.
> 
> 	Changelog entry:
> 
> * libtinymail-camel/camel-lite/camel/camel.[ch]:
> Make camel_shutdown method be public, for the cases we cannot
> rely on g_atexit.
> * libtinymail-camel/camel-lite/camel/camel-tcp-stream-ssl.c:
> Modified method to calculate the fingerprint of a certificate.
> Now we use Mozilla NSS api for this as the old method was not
> reliable in some cases.
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be






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