gcrypt.h uses malloc without including stdlib.h

Werner Koch wk at gnupg.org
Mon Feb 12 14:08:18 CET 2007


On Sun, 11 Feb 2007 13:59, ametzler at downhill.at.eu.org said:

> gcry_pth_init defined in gcrypt.h invokes malloc without
> #include <stdlib.h>. Is this done by purpose and should every program
> using threading include the header or should gcrypt.h be changed?

I always include stdlib.h so thatproblem never hit me.  No problem to
change gcrypt.h.  Will do so.


Shalom-Salam,

   Werner




More information about the Gcrypt-devel mailing list