Bug in keyserver code: DOS line endings

Keith Ray keith at nullify.org
Wed Jun 12 23:10:01 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoting David Shaw <dshaw at jabberwocky.com>:

> On Tue, Jun 11, 2002 at 06:29:59PM -0500, Keith Ray wrote:
> 
> > I compiled the gpgkeys_ldap for win32
> 
> Hey, excellent!  I was hoping someone would do this and report back
> how it worked out.  What did you have to do to link in the libraries?

SASL, Regex, and OpenLDAP all have MSVC projects in the source code.

> Is this sort of line ending magic portable to Cygwin as well as
> Mingw32?  (You're using Mingw32, right?)

I don't know.  No, Microsoft Visual C++.

> Aside from this problem, does it work all right on Win32?

Once I applied the above patch and the fix for the input and output
tempfile being the same, it appears to work well.  Proxying doesn't seem
to work, but I consider that minor.

Also, this line doesn't work either due to the same reason:

keyserver.c:483
line[strlen(line)-1]='\0';

One last thing, can you please #ifdef unistd.h with HAVE_UNISTD_H?

  -- Keith

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7a-nr1 (Windows 2000) - GPGshell v2.30

iD8DBQE9B6qUBxrjkHkmmhIRAv6AAJ4juIMhOUFftQPmYhpMaj0UROvPtACfUUNJ
nELPNGyR2nG9HnwdExv9AYo=
=X0fF
-----END PGP SIGNATURE-----




More information about the Gnupg-devel mailing list