On Fri, 4 Jan 2008 16:33, [EMAIL PROTECTED] said: > plugin for pidgin: if another plugin (say, Jabber) uses gnutls, which > initializes libgcrypt, and OTR also initializes libgcrypt (perhaps with > custom allocation functions), you can easily cause a crash.
At least we have a way to test whether libgcrypt is intialized (modulo threading issues). > It would be very nice to have all of the libgcrypt global state > encapsulated into a dynamically allocated region that's returned by the > libgcrypt initialization, and passed into all other functions. [Macros Right, however that means a complete API break. It is also a sign that such deep linking hierarchies are not very well thought-out. We need to live with it, though. Shalom-Salam, Werner -- Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]