1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00

* gpgkeys_hkp.c (main): Show curl or fake-curl version string.

* Makefile.am: Link with libcompat.a for ascii_str(n)casecmp.
This commit is contained in:
David Shaw 2007-04-16 22:47:20 +00:00
parent e7c72ccc2f
commit 1fc3e4a299
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2007-04-16 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (main): Show curl or fake-curl version string.
* Makefile.am: Link with libcompat.a for ascii_str(n)casecmp.
* gpgkeys_curl.c, gpgkeys_ldap.c, gpgkeys_hkp.c, ksutil.c: Rename
all str(n)casecmp to ascii_str(n)casecmp. We want the
locale-independent ones here.

View File

@ -47,8 +47,8 @@ gpgkeys_hkp_SOURCES += curl-shim.c curl-shim.h
gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @DNSLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
else
gpgkeys_curl_CPPFLAGS = @LIBCURL_CPPFLAGS@
gpgkeys_curl_LDADD = @LIBCURL@ @GETOPT@
gpgkeys_curl_LDADD = ../util/libcompat.a @LIBCURL@ @GETOPT@
gpgkeys_hkp_CPPFLAGS = @LIBCURL_CPPFLAGS@
gpgkeys_hkp_LDADD = @LIBCURL@ @GETOPT@
gpgkeys_hkp_LDADD = ../util/libcompat.a @LIBCURL@ @GETOPT@
gpgkeys_finger_CPPFLAGS = @LIBCURL_CPPFLAGS@
endif

View File

@ -731,7 +731,7 @@ main(int argc,char *argv[])
/* Send the response */
fprintf(output,"VERSION %d\n",KEYSERVER_PROTO_VERSION);
fprintf(output,"PROGRAM %s\n\n",VERSION);
fprintf(output,"PROGRAM %s %s\n\n",VERSION,curl_version());
if(opt->verbose>1)
{