1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-13 22:08:52 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
David Shaw
23e102f2e7 * gpgkeys_ldap.c (main): Avoid possible pre-string write.
* gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Fix memory corruption bug on
some platforms.  From devel. (search_key): Catch a mangled input file
(useful if something other than GnuPG is calling the program). (main):
Avoid possible pre-string write.  Noted by Christian Biere.
2003-12-06 01:41:00 +00:00
David Shaw
03c53702fb * gpgkeys_hkp.c, gpgkeys_ldap.c: Include extern references for optarg and
optind since there is no guarantee that any header file will include them.
Standards?  We don't need no stinkin' standards!
2003-05-30 04:00:26 +00:00
David Shaw
b54375f552 * gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is available.
* Makefile.am: Use @GETOPT@ to pull in libiberty on those platforms that
need it.
2003-05-28 22:29:04 +00:00
David Shaw
66c458f954 * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle an
input file that does not include any key data at all.
2002-11-04 13:49:31 +00:00
David Shaw
31f28dabba * gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to output
protocol and program version.
2002-10-24 18:29:11 +00:00
David Shaw
63154fea49 * gpgkeys_ldap.c (search_key, main): Make sure LDAP values are freed in
case of error.
2002-10-09 02:23:46 +00:00
David Shaw
338aab3be9 * gpgkeys_ldap.c (main): Fix error return code. 2002-10-09 02:01:36 +00:00
Werner Koch
e440941db5 * gpgkeys_ldap.c (send_key): Removed non-constant initializers. 2002-09-26 11:27:47 +00:00
David Shaw
e892058dba * gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't like
using variables as array initializers.
2002-09-09 20:36:12 +00:00
David Shaw
0d8006450a * gpgkeys_hkp.c (get_key, parse_hkp_index): Bring over latest code from
g10/hkp.c.

* gpgkeys_ldap.c (get_key): Fix cosmetic URL display problem (extra ":" at
the end).
2002-08-19 21:14:57 +00:00
Stefan Bellon
582f0d5d98 RISC OS changes due to dynload removal 2002-08-03 18:35:16 +00:00
David Shaw
2921721841 * gpgkeys_ldap.c (send_key, get_key, main): Consult the server version
string to determine whether to use pgpKey or pgpKeyV2.
2002-07-15 23:13:48 +00:00
David Shaw
a811246420 * gpgkeys_ldap.c (get_key), gpgkeys_hkp.c (get_key): Display keyserver URI
as a URI, but only if verbose.
2002-07-04 14:14:08 +00:00
David Shaw
2b0bb77e6d * gpgkeys_hkp.c (parse_hkp_index): Error if the keyserver returns an
unparseable HKP response.

* gpgkeys_hkp.c (main): Warn on honor-http-proxy, broken-http-proxy, and
include-subkeys (not supported yet).

* gpgkeys_ldap.c (main), gpgkeys_hkp.c (http_connect, main): Fix some
shadowing warnings.
2002-07-01 17:46:56 +00:00
David Shaw
151ee2f47b Update head to match stable 1.0 2002-06-29 13:31:13 +00:00