Bug#448775: Uses too much entropy (Debian Bug #343085)

Werner Koch wk at gnupg.org
Tue Jan 8 10:20:46 CET 2008


On Fri,  4 Jan 2008 16:33, linux at paip.net 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.






More information about the Gnutls-devel mailing list