Page MenuHome GnuPG

Windows ldap_start_tls_sA has more parameters than used in keyserver/gpgkeys_ldap.c
Closed, ResolvedPublic

Description

Hi,

I'm currently working on rebuilding the various Debian packages targeting
Windows (!) using mingw-w64 rather than the old mingw32. While rebuilding gnupg,
I discovered that keyserver/gpgkeys_ldap.c fails to build, because
ldap_start_tls_sA's signature has changed; see
http://msdn.microsoft.com/en-us/library/aa366997%28v=vs.85%29.aspx for more
info. I haven't investigated further to figure out what values should be used
for the two new parameters.

See http://bugs.debian.org/623526 for a patch allowing the gnupg package to
build using mingw-w64; it currently disables LDAP support in the resulting
debian/rules to allow the build to complete, but the rest of the patch could be
useful to anyone working on this bug.

Regards,

Stephen