gnupg.git
11 years agoFix bug #947 (expire time overflow)
Werner Koch [Mon, 11 Aug 2008 08:19:48 +0000 (08:19 +0000)]
Fix bug #947 (expire time overflow)

11 years agoFix !EROFS bug
Werner Koch [Fri, 1 Aug 2008 10:48:36 +0000 (10:48 +0000)]
Fix !EROFS bug

11 years agoUpdate.
Werner Koch [Mon, 21 Jul 2008 07:33:41 +0000 (07:33 +0000)]
Update.

11 years agoRevert that last stupid setuid detection fix.
Werner Koch [Thu, 17 Jul 2008 19:47:19 +0000 (19:47 +0000)]
Revert that last stupid setuid detection fix.

11 years agoTypo fix by Ludwig Hügelschäfer.
Werner Koch [Mon, 23 Jun 2008 08:49:04 +0000 (08:49 +0000)]
Typo fix by Ludwig Hügelschäfer.

11 years agoTranslation fixes.
Werner Koch [Mon, 26 May 2008 10:39:56 +0000 (10:39 +0000)]
Translation fixes.

11 years ago* gpg-zip.1: Add man page thanks to Colin Tuckley and Daniel Leidert.
David Shaw [Wed, 30 Apr 2008 16:05:57 +0000 (16:05 +0000)]
* gpg-zip.1: Add man page thanks to Colin Tuckley and Daniel Leidert.

11 years agoIgnore gpg2 introduced keywords for --auto-key-locate.
Werner Koch [Wed, 30 Apr 2008 11:46:35 +0000 (11:46 +0000)]
Ignore gpg2 introduced keywords for --auto-key-locate.
Minor W32 installer fix.

11 years agoAdd Camellia-192.
David Shaw [Thu, 17 Apr 2008 17:40:30 +0000 (17:40 +0000)]
Add Camellia-192.

11 years ago* gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Make sure all libcurl
David Shaw [Mon, 14 Apr 2008 17:41:47 +0000 (17:41 +0000)]
* gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Make sure all libcurl
number options are passed as long.

11 years ago* curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl
David Shaw [Mon, 14 Apr 2008 16:08:00 +0000 (16:08 +0000)]
* curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl
better - libcurl uses 'long', not 'unsigned int'.

11 years ago* getkey.c (merge_selfsigs_subkey): If there are multiple 0x19
David Shaw [Sun, 13 Apr 2008 01:56:01 +0000 (01:56 +0000)]
* getkey.c (merge_selfsigs_subkey): If there are multiple 0x19
backsigs, take the most recent one.

11 years agoYet another minor yat2m fix.
Werner Koch [Wed, 2 Apr 2008 08:48:08 +0000 (08:48 +0000)]
Yet another minor yat2m fix.

11 years agoFix rendering of @samp.
Werner Koch [Wed, 2 Apr 2008 08:20:38 +0000 (08:20 +0000)]
Fix rendering of @samp.

11 years ago* configure.ac: Require curl 7.10 (Oct 1 2002) or later as we use
David Shaw [Mon, 31 Mar 2008 21:17:18 +0000 (21:17 +0000)]
* configure.ac: Require curl 7.10 (Oct 1 2002) or later as we use
curl_version_info().

11 years agoadd comment.
Werner Koch [Thu, 27 Mar 2008 13:23:39 +0000 (13:23 +0000)]
add comment.
Minor update of zh_TW.

11 years agoPost release version number bump.
Werner Koch [Wed, 26 Mar 2008 18:37:29 +0000 (18:37 +0000)]
Post release version number bump.

11 years agoprepare a release. gnupg-1.4.9
Werner Koch [Wed, 26 Mar 2008 17:53:04 +0000 (17:53 +0000)]
prepare a release.

11 years agoFixed URL.
Werner Koch [Tue, 25 Mar 2008 14:47:48 +0000 (14:47 +0000)]
Fixed URL.

11 years agoFix email address
David Shaw [Tue, 25 Mar 2008 13:02:28 +0000 (13:02 +0000)]
Fix email address

11 years agoPowerpc64 fix.
Werner Koch [Tue, 25 Mar 2008 10:45:59 +0000 (10:45 +0000)]
Powerpc64 fix.

11 years agoChange default keyserver.
Werner Koch [Tue, 25 Mar 2008 08:34:02 +0000 (08:34 +0000)]
Change default keyserver.

11 years ago* import.c (collapse_uids): Fix bug 894: possible memory corruption
David Shaw [Mon, 24 Mar 2008 02:28:40 +0000 (02:28 +0000)]
* import.c (collapse_uids): Fix bug 894: possible memory corruption
around deduplication of user IDs.

11 years agoImproved AES performance.
Werner Koch [Sat, 22 Mar 2008 17:01:37 +0000 (17:01 +0000)]
Improved AES performance.

11 years ago* parse-packet.c (parse_key): Parse a secret key encrypted with
David Shaw [Mon, 17 Mar 2008 18:20:39 +0000 (18:20 +0000)]
* parse-packet.c (parse_key): Parse a secret key encrypted with
Camellia.

11 years ago* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
David Shaw [Fri, 7 Mar 2008 19:08:31 +0000 (19:08 +0000)]
* configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
  understand '-n'.  Use tr to trim the carriage return instead.

11 years ago* argparse.c (default_strusage): Update copyright date.
David Shaw [Thu, 6 Mar 2008 17:22:41 +0000 (17:22 +0000)]
* argparse.c (default_strusage): Update copyright date.

11 years ago* configure.ac: Post-release update.
David Shaw [Thu, 6 Mar 2008 17:19:34 +0000 (17:19 +0000)]
* configure.ac: Post-release update.

11 years ago2008-02-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 9 Feb 2008 00:49:36 +0000 (00:49 +0000)]
2008-02-09  Marcus Brinkmann  <marcus@g10code.de>

* gpg.c (main): New variable default_configname.  Use it if
save_configname is NULL (can happen if default configfile does
not exist).  Move default configname determination to ...
(get_default_configname): ... this new function.

11 years agoAdd card vendor 004.
Werner Koch [Sat, 26 Jan 2008 13:12:00 +0000 (13:12 +0000)]
Add card vendor 004.

11 years agoUpdate
Werner Koch [Wed, 2 Jan 2008 17:18:14 +0000 (17:18 +0000)]
Update

11 years agoTypo fix gnupg-1.4.8
Werner Koch [Thu, 20 Dec 2007 08:07:49 +0000 (08:07 +0000)]
Typo fix

11 years agoPreparing a release
Werner Koch [Thu, 20 Dec 2007 08:06:39 +0000 (08:06 +0000)]
Preparing a release

11 years ago* Makefile.am: Fix compile error when libcurl is in a nonstandard
David Shaw [Mon, 17 Dec 2007 21:27:10 +0000 (21:27 +0000)]
* Makefile.am: Fix compile error when libcurl is in a nonstandard
location.

11 years agoFixd a W32 problems with ldaps.
Werner Koch [Mon, 17 Dec 2007 10:49:08 +0000 (10:49 +0000)]
Fixd a W32 problems with ldaps.

11 years agoFixed a regression in gpg_dermor. gnupg-1.4.8rc2
Werner Koch [Fri, 14 Dec 2007 11:30:01 +0000 (11:30 +0000)]
Fixed a regression in gpg_dermor.

11 years agoPreparing a release candidate
Werner Koch [Fri, 14 Dec 2007 09:56:06 +0000 (09:56 +0000)]
Preparing a release candidate

11 years ago* NEWS: Note SHA-224 typo.
David Shaw [Thu, 13 Dec 2007 21:11:05 +0000 (21:11 +0000)]
* NEWS: Note SHA-224 typo.

11 years agoType fixes and @samp{} fix. From gnupg-2.
Werner Koch [Wed, 12 Dec 2007 18:55:52 +0000 (18:55 +0000)]
Type fixes and @samp{} fix.  From gnupg-2.

11 years agoUpdated ZH po file.
Werner Koch [Wed, 12 Dec 2007 18:26:25 +0000 (18:26 +0000)]
Updated ZH po file.
Allow de/encryption using legacy type 20 keys.
Updated config.{sub,guess}

11 years ago* trustdb.c (sanitize_regexp): New. Protect against dangerous regexps
David Shaw [Wed, 12 Dec 2007 16:38:23 +0000 (16:38 +0000)]
* trustdb.c (sanitize_regexp): New.  Protect against dangerous regexps
(malloc bombs) by force-commenting any characters aside from the ones
we explicitly want.  (check_regexp): Use it here before passing the
regexp to regcomp().

11 years agoAllow decryption using type 20 key.
Werner Koch [Tue, 11 Dec 2007 17:14:05 +0000 (17:14 +0000)]
Allow decryption using type 20 key.

11 years agoAllow decryption using type 20 Elgamal keys.
Werner Koch [Tue, 11 Dec 2007 13:21:30 +0000 (13:21 +0000)]
Allow decryption using type 20 Elgamal keys.

11 years agoFixed auto generation of the key stub.
Werner Koch [Mon, 10 Dec 2007 15:34:20 +0000 (15:34 +0000)]
Fixed  auto generation of the key stub.
Fixed bug 851.
Allow decryption using type 20 Elgamal keys.

11 years agoComment typ fixes.
Werner Koch [Mon, 3 Dec 2007 14:41:38 +0000 (14:41 +0000)]
Comment typ fixes.
Workaround for bad translations of the capability menu.

11 years agoAdd 128-bit variant of Camellia.
David Shaw [Thu, 29 Nov 2007 14:51:08 +0000 (14:51 +0000)]
Add 128-bit variant of Camellia.

11 years ago* sig-check.c (do_check): Code to try both the incorrect and correct
David Shaw [Wed, 28 Nov 2007 23:08:35 +0000 (23:08 +0000)]
* sig-check.c (do_check): Code to try both the incorrect and correct
SHA-224 DER prefixes when verifying a signature.  See the change
itself for more discussion.

* main.h, seskey.c (do_encode_md): Rename to pkcs1_encode_md and make
non-static.

11 years ago* sha256.c (sha224_get_info): 4880 has an error in the SHA-224 OID and
David Shaw [Wed, 28 Nov 2007 23:00:11 +0000 (23:00 +0000)]
* sha256.c (sha224_get_info): 4880 has an error in the SHA-224 OID and
we inherited it.  Fixing.

11 years ago* defs.inc: Use new --list-config method to get cipher and digest
David Shaw [Wed, 28 Nov 2007 15:15:37 +0000 (15:15 +0000)]
* defs.inc: Use new --list-config method to get cipher and digest
names.

11 years ago* gpg.c (print_algo_names): New. (list_config): Use it here for the
David Shaw [Wed, 28 Nov 2007 15:09:52 +0000 (15:09 +0000)]
* gpg.c (print_algo_names): New.  (list_config): Use it here for the
"ciphername" and "digestname" config items so we can get a
script-parseable list of the names.

12 years agoGrammar fix
Werner Koch [Mon, 19 Nov 2007 10:10:02 +0000 (10:10 +0000)]
Grammar fix

12 years ago* NEWS: Say a bit more about RFC-4880. Note some defaults changing.
David Shaw [Sun, 18 Nov 2007 03:59:21 +0000 (03:59 +0000)]
* NEWS: Say a bit more about RFC-4880.  Note some defaults changing.

12 years agoPost release update
Werner Koch [Fri, 16 Nov 2007 14:00:19 +0000 (14:00 +0000)]
Post release update

12 years agoPreparing a release candidate gnupg-1.4.8rc1
Werner Koch [Fri, 16 Nov 2007 13:25:01 +0000 (13:25 +0000)]
Preparing a release candidate

12 years ago * status.c (do_get_from_fd, do_shm_get): s/bool/getbool/ to
Werner Koch [Mon, 12 Nov 2007 15:52:01 +0000 (15:52 +0000)]
 * status.c (do_get_from_fd, do_shm_get): s/bool/getbool/ to
   overcome problems with Mac OS 10.5 which seems to include
   stdbool.h silently.

12 years ago* parse-packet.c (parse_onepass_sig): Sigclass is hex, so include the
David Shaw [Sat, 27 Oct 2007 20:00:20 +0000 (20:00 +0000)]
* parse-packet.c (parse_onepass_sig): Sigclass is hex, so include the
0x.

12 years ago* keyserver.c (keyserver_spawn): Cosmetic, but looks cleaner.
David Shaw [Sat, 27 Oct 2007 19:40:13 +0000 (19:40 +0000)]
* keyserver.c (keyserver_spawn): Cosmetic, but looks cleaner.

12 years ago* README: Update notes about OSX Leopard.
David Shaw [Sat, 27 Oct 2007 15:55:42 +0000 (15:55 +0000)]
* README: Update notes about OSX Leopard.

12 years ago* gpg.texi: Update from gnupg-2.
David Shaw [Sat, 27 Oct 2007 15:52:02 +0000 (15:52 +0000)]
* gpg.texi: Update from gnupg-2.

12 years agoSwitched to GPLv3.
Werner Koch [Tue, 23 Oct 2007 10:48:09 +0000 (10:48 +0000)]
Switched to GPLv3.
Updated gettext.

12 years ago* gpg.c (main): Add --require-cross-certification to
David Shaw [Tue, 23 Oct 2007 03:00:21 +0000 (03:00 +0000)]
* gpg.c (main): Add --require-cross-certification to
--openpgp/--rfc4880 mode.

12 years ago* gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by default.
David Shaw [Tue, 23 Oct 2007 00:36:59 +0000 (00:36 +0000)]
* gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by default.
Enable --require-cross-certification by default.  --openpgp
(--rfc4880) is the same as --rfc2440 except with "--enable-dsa2
--no-rfc2440-text --escape-from-lines".

12 years ago* misc.c (compliance_option_string, compliance_failure): Minor
David Shaw [Sun, 21 Oct 2007 16:07:13 +0000 (16:07 +0000)]
* misc.c (compliance_option_string, compliance_failure): Minor
cleanup.

* armor.c (is_armor_header): Comment about 4880.

12 years ago* options.h, gpg.c (main), misc.c (compliance_option_string): Add
David Shaw [Wed, 17 Oct 2007 16:37:09 +0000 (16:37 +0000)]
* options.h, gpg.c (main), misc.c (compliance_option_string): Add
--rfc4880, and make --openpgp an alias to it.  --rfc2440 now stands
alone.  For now, use the old 2440 defaults for 4880.

* keyedit.c (keyedit_menu): Use compliance_option_string() instead of
printing the compliance modes here.

12 years ago* configure.ac: Change various help messages to use AC_HELP_STRING.
David Shaw [Wed, 17 Oct 2007 16:11:09 +0000 (16:11 +0000)]
* configure.ac: Change various help messages to use AC_HELP_STRING.

12 years ago* import.c (collapse_uids): Significant speedup for de-duping user
David Shaw [Sun, 2 Sep 2007 14:09:24 +0000 (14:09 +0000)]
* import.c (collapse_uids): Significant speedup for de-duping user
IDs.

12 years agoImproved detection of ketrings specified several times.
Werner Koch [Fri, 24 Aug 2007 09:51:58 +0000 (09:51 +0000)]
Improved detection of ketrings specified several times.

12 years ago* ldap.m4: Revert the mozldap change: mozldap has some significant
David Shaw [Thu, 2 Aug 2007 13:17:27 +0000 (13:17 +0000)]
* ldap.m4: Revert the mozldap change: mozldap has some significant
differences around TLS compared to OpenLDAP, and will segfault (!)  if
the NSS library is not initialized first.  Nothing impossible to do,
but I think I'll wait until someone actually asks us for mozldap
support.

12 years ago* gpgkeys_ldap.c (main): Fix bug in setting up whether to verify peer
David Shaw [Sun, 29 Jul 2007 02:58:26 +0000 (02:58 +0000)]
* gpgkeys_ldap.c (main): Fix bug in setting up whether to verify peer
SSL cert.  This used to work with older OpenLDAP, but is now more
strictly handled.

12 years ago* gpgkeys_ldap.c: Fix build warning with mozldap.
David Shaw [Fri, 27 Jul 2007 16:33:05 +0000 (16:33 +0000)]
* gpgkeys_ldap.c: Fix build warning with mozldap.

12 years ago* gpgkeys_ldap.c (search_key, main): Fix bug where searching for foo
David Shaw [Fri, 27 Jul 2007 16:21:18 +0000 (16:21 +0000)]
* gpgkeys_ldap.c (search_key, main): Fix bug where searching for foo
bar (no quotes) on the command line resulted in searching for
"foo\2Abar" due to LDAP quoting.  The proper search is "foo*bar".

12 years ago* ldap.m4: If we don't find ldap or winldap, try for mozldap.
David Shaw [Fri, 27 Jul 2007 15:48:35 +0000 (15:48 +0000)]
* ldap.m4: If we don't find ldap or winldap, try for mozldap.

12 years ago* gpg.c (main): Fix typo. Noted by John Clizbe.
David Shaw [Thu, 19 Jul 2007 12:46:08 +0000 (12:46 +0000)]
* gpg.c (main): Fix typo.  Noted by John Clizbe.

12 years ago* armor.c (parse_header_line): Improve test so that the header test
David Shaw [Thu, 19 Jul 2007 12:29:22 +0000 (12:29 +0000)]
* armor.c (parse_header_line): Improve test so that the header test
only allows "Hash" in the signed data section.

12 years ago* configure.ac: It seems that AM_GNU_GETTEXT doesn't like being run
David Shaw [Wed, 18 Jul 2007 19:36:24 +0000 (19:36 +0000)]
* configure.ac: It seems that AM_GNU_GETTEXT doesn't like being run
conditionally and it confuses the includes when doing later type
checks.  This is bug#810.

12 years ago* defs.inc (all_hash_algos): See "all_cipher_algos", below.
David Shaw [Wed, 18 Jul 2007 17:43:14 +0000 (17:43 +0000)]
* defs.inc (all_hash_algos): See "all_cipher_algos", below.

* sigs.test: Use it here, and also test with >=160 bit hashes for
DSA2.

12 years ago* armor.c (is_armor_tag): New. Detect if an armor header matches
David Shaw [Wed, 18 Jul 2007 17:08:47 +0000 (17:08 +0000)]
* armor.c (is_armor_tag): New.  Detect if an armor header matches
2440bis-21.  (parse_header_line): Call it here, as bis-21 requires
warning the user (but continuing to process the message) when seeing
an unknown header.

12 years agoAdd an extra warning for Camellia.
Werner Koch [Mon, 9 Jul 2007 17:26:51 +0000 (17:26 +0000)]
Add an extra warning for Camellia.
Minor W32 fix
Address change.

12 years ago* configure.ac: AM_PROG_CC_C_O is desired by automake 1.10 to do
David Shaw [Sun, 8 Jul 2007 21:48:11 +0000 (21:48 +0000)]
* configure.ac: AM_PROG_CC_C_O is desired by automake 1.10 to do
per-target builds (like we do in the keyserver dir), but exists in the
currently-used 1.9.3 as well.

12 years ago* encode.c (encode_crypt): Missed one call to setup_plaintext_name().
David Shaw [Fri, 6 Jul 2007 23:36:33 +0000 (23:36 +0000)]
* encode.c (encode_crypt): Missed one call to setup_plaintext_name().
This is bug#809.

12 years ago* mk-w32-dist: Remove underline markup from man pages. Reported
Werner Koch [Fri, 22 Jun 2007 11:52:12 +0000 (11:52 +0000)]
* mk-w32-dist: Remove underline markup from man pages.  Reported
by Dirk Traulsen.

12 years agoAdd Camellia. Do not enable this if you are not doing interop
David Shaw [Wed, 13 Jun 2007 15:28:11 +0000 (15:28 +0000)]
Add Camellia.  Do not enable this if you are not doing interop
testing.  It is not (yet) legal OpenPGP, is not interop tested yet
(obviously), and it's a great way to lose your data.  Just don't do
it.

12 years ago* sign.c (mk_notation_policy_etc): expect all sigs that this is called
David Shaw [Tue, 12 Jun 2007 20:19:31 +0000 (20:19 +0000)]
* sign.c (mk_notation_policy_etc): expect all sigs that this is called
for are >=v4.  (write_signature_packets, make_keysig_packet): Only
call it for >=v4 sigs.  This allows --force-v3-sigs and
--force-v4-certs to enable or disable notations, policies, and
keyserver URLs.  This is bug#800.

12 years ago* defs.inc (all_cipher_algos): New function to return all ciphers we
David Shaw [Mon, 14 May 2007 23:16:05 +0000 (23:16 +0000)]
* defs.inc (all_cipher_algos): New function to return all ciphers we
support.  This is safer than the previous setup which could hide that
some ciphers weren't being tested.  Plus, this automatically tests any
new ciphers we may add.

* conventional.test, encrypt-test, encrypt-dsa.test,
conventional-mdc.test: Use it here.

12 years ago* conventional.test, encrypt.test, encrypt-dsa.test,
David Shaw [Wed, 2 May 2007 17:20:45 +0000 (17:20 +0000)]
* conventional.test, encrypt.test, encrypt-dsa.test,
conventional-mdc.test: Fix some broken tests that were only testing
3DES instead of all available ciphers.

12 years ago* packet.h, mainproc.c (reset_literals_seen): New function to reset
David Shaw [Tue, 17 Apr 2007 04:00:38 +0000 (04:00 +0000)]
* packet.h, mainproc.c (reset_literals_seen): New function to reset
the literals count.

* verify.c (verify_one_file), decrypt.c (decrypt_messages): Call it
here so we allow multiple literals in --multifile mode (in different
files - not concatenated together).

12 years ago* gpgkeys_hkp.c (main): Show curl or fake-curl version string.
David Shaw [Mon, 16 Apr 2007 22:47:20 +0000 (22:47 +0000)]
* gpgkeys_hkp.c (main): Show curl or fake-curl version string.

* Makefile.am: Link with libcompat.a for ascii_str(n)casecmp.

12 years ago* gpgkeys_curl.c, gpgkeys_ldap.c, gpgkeys_hkp.c, ksutil.c: Rename all
David Shaw [Mon, 16 Apr 2007 22:43:29 +0000 (22:43 +0000)]
* 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.

12 years agoMove some ascii_foo functions to libcompat
David Shaw [Mon, 16 Apr 2007 22:32:28 +0000 (22:32 +0000)]
Move some ascii_foo functions to libcompat

12 years ago* gpg.c, pkclist.c: #include <strings.h> for strcasecmp if it is
David Shaw [Mon, 16 Apr 2007 21:55:53 +0000 (21:55 +0000)]
* gpg.c, pkclist.c: #include <strings.h> for strcasecmp if it is
present.  Note that autoconf protects us against a strings.h that
cannot be used together with string.h.

12 years agoutil/
Werner Koch [Mon, 16 Apr 2007 15:37:45 +0000 (15:37 +0000)]
util/
* secmem.c (init_pool): Avoid assigning a negative value to a
size_t.
./
* acinclude.m4: Fix last change.  Make test self-conatined by
checking for sysconf and getpagesize.  Remove indentation for the
sake of broken C-89 cpps.

12 years agoDon't build shmtest unless we have shm.
David Shaw [Mon, 16 Apr 2007 15:32:49 +0000 (15:32 +0000)]
Don't build shmtest unless we have shm.

12 years agoUse sysconf() when possible as not all platforms have getpagesize().
David Shaw [Mon, 16 Apr 2007 13:37:09 +0000 (13:37 +0000)]
Use sysconf() when possible as not all platforms have getpagesize().

12 years ago* argparse.c (default_strusage): Copyright 2007.
David Shaw [Sun, 15 Apr 2007 16:37:01 +0000 (16:37 +0000)]
* argparse.c (default_strusage): Copyright 2007.

* cert.c, srv.c, pka.c: Need arpa/inet.h for ntohs().

12 years ago* configure.ac: QNX puts resolver functions in libsocket. From Sean
David Shaw [Sun, 15 Apr 2007 14:30:11 +0000 (14:30 +0000)]
* configure.ac: QNX puts resolver functions in libsocket.  From Sean
Boudreau.

12 years ago* parse-packet.c (parse_marker): New. Enforce that the marker
David Shaw [Wed, 4 Apr 2007 04:00:20 +0000 (04:00 +0000)]
* parse-packet.c (parse_marker): New.  Enforce that the marker
contains 'P', 'G', 'P', and nothing but.  (parse): Call it here.
(skip_packet): No longer need to handle marker packets here.

12 years ago* keyserver.c: Windows Vista doesn't grok X_OK and so fails access()
David Shaw [Wed, 14 Mar 2007 13:15:50 +0000 (13:15 +0000)]
* keyserver.c: Windows Vista doesn't grok X_OK and so fails access()
tests.  Previous versions interpreted X_OK as F_OK anyway, so we'll
just use F_OK directly.

12 years ago* gpgkeys_curl.c (main): Use curl_version_info to verify that the
David Shaw [Tue, 13 Mar 2007 17:53:57 +0000 (17:53 +0000)]
* gpgkeys_curl.c (main): Use curl_version_info to verify that the
protocol we're about to use is actually available.

* curl-shim.h, curl-shim.c (curl_free): Make into a macro.
(curl_version_info): New.  Only advertises "http" for our shim, of
course.

12 years agoAdd extra fflush (stdout)
Werner Koch [Thu, 8 Mar 2007 12:13:15 +0000 (12:13 +0000)]
Add extra fflush (stdout)

12 years ago* keyedit.c (keyedit_menu): If we modify the keyblock (via
David Shaw [Tue, 6 Mar 2007 06:39:38 +0000 (06:39 +0000)]
* keyedit.c (keyedit_menu): If we modify the keyblock (via
fix_keyblock() or collapse_uids()) make sure we reprocess the keyblock
so the flags are correct.  Noted by Robin H. Johnson.

* getkey.c (fixup_uidnode): Properly clear flags that don't apply to
us (revoked, expired) so that we can reprocess a uid.