[PATCH] tools/gpgconf.c (main): Initialize libgcrypt.

Ben Kibbey bjk at luxsci.net
Wed Aug 10 01:28:55 CEST 2016


On Tue, Aug 09, 2016 at 10:59:41AM +0200, Justus Winter wrote:
> Ben Kibbey <bjk at luxsci.net> writes:
> 
> > * common/init.c (init_common_subsystems): Initialize libgcrypt.
> 
> Merged, thanks!

Noticed the mention of header files and GPG_ERR_SOURCE on xmpp so I
revised the original patch to move gcrypt.h after everything else and
also coding style. Should apply after reverting the previous one.

There is still the problem of gcry_realloc being set before
initialization but I couldn't find anywhere that it is actually used in
init_common_subsystems(). The esteams support in libgpg-error makes use
of it, but the only IO done is with WinCE and doesn't seem to call any
estreams functions that I could see.

-- 
Ben Kibbey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gpgconf-Initialize-libgcrypt.patch
Type: text/x-diff
Size: 1126 bytes
Desc: not available
URL: </pipermail/attachments/20160809/e5083ce4/attachment-0001.patch>


More information about the Gnupg-devel mailing list