Commit Graph

199 Commits

Author SHA1 Message Date
Werner Koch b79b1b9399 (secmem_realloc): Take control information into account
when testing for a resize.
2005-03-10 09:54:27 +00:00
David Shaw 445542c942 * http.c (send_request): Include the port if non-80 in the Host: header.
Noted by Jason Harris.
2004-12-03 20:04:08 +00:00
Werner Koch 5b82342c90 (destroy_dotlock): Remove the handle from the list of
locks.
(release_dotlock): Don't act if we don't have any locks at all.
2004-08-23 15:22:46 +00:00
David Shaw 7f2369b7df * http.c (insert_escapes): Fix encoding problem for non-URI-safe
characters.  Noted by Vladimir Novak.
2004-08-19 20:28:01 +00:00
Werner Koch 620abc1658 * keydb.c (keydb_add_resource): Factored keyring creation out to ..
(maybe_create_keyring): .. new.  Make sure that we do the checks
in a locked state.  Problem reported by Stefan Haller.
2004-08-13 17:00:05 +00:00
Werner Koch c6b88a12dd * configure.ac (ALL_LINGUAS): Removed.
* Makefile.am (LDADD): Replaced INTLLIBS by LIBINTL.

* Makefile.am (gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL.

* ca.po: Updated.

* autogen.sh: Run aclocal with -I m4.

* Makefile.am: Replaced INTLLIBS by LIBINTL.

* Makefile.am (http-test): Replaced INTLLIBS by LIBINTL.
2004-08-09 19:47:08 +00:00
David Shaw 49b6b71919 * iobuf.c (block_filter): Properly handle a partial body stream that ends
with a 5-byte length that happens to be zero.
2004-03-01 21:45:54 +00:00
Werner Koch 7164a0f754 * secmem.c (lock_pool) [_AIX]: Also set errno. 2004-02-24 16:04:37 +00:00
David Shaw 2a23fe9019 * argparse.c (initialize): Avoid a number of -Wformat-nonliteral warnings.
These aren't actual problems, but the warnings bothered me.
2004-01-13 22:35:40 +00:00
David Shaw 31eada47b6 * miscutil.c (print_string2): New variation on print_string that allows
two delimiters. (print_string): Call print_string2 to do work.

* argparse.c (default_strusage): Update copyright date.
2004-01-13 05:29:51 +00:00
David Shaw e872c35cfa * iobuf.c (block_filter): Properly handle a partial body stream that ends
with a 5-byte length.
2003-12-25 03:20:21 +00:00
David Shaw bb0d9f0658 * http.c (send_request): Add a Host: header for virtual hosts. 2003-12-06 01:11:01 +00:00
David Shaw 02d27268ca * miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't use
alternate strings when not needed so we don't have to re-translate them.
Hopefully the comment will be enough to indicate multiple match strings.
2003-12-03 13:35:09 +00:00
David Shaw 38722f4caa * miscutil.c (match_multistr): New. Match against each segment in a
string with tokens separated by |. (answer_is_yes_no_default,
answer_is_yes_no_quit): Use it here to enable alternate translations.
2003-11-21 00:54:20 +00:00
Werner Koch 5c67438a67 * secmem.c (lock_pool) [_AIX]: Don't use plock. 2003-10-23 07:47:02 +00:00
Werner Koch 60718702d1 * ttyio.c: Typo fixes. 2003-07-30 16:18:05 +00:00
Werner Koch da4bf59349 Changed a lot of __MINGW32__ to _WIN32. This should help a bit in
building with native Windows compilers.  On request by Brian Gladman.
2003-07-30 16:04:46 +00:00
Werner Koch 6a00a17bd1 Make sure that only ascii is passed to isfoo functions. 2003-06-07 20:06:32 +00:00
David Shaw b357540659 * argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c,
simple-gettext.c, errors.c, http.c, memory.c, secmem.c, ttyio.c: Edit all
preprocessor instructions to remove whitespace before the '#'.  This is
not required by C89, but there are some compilers out there that don't
like it.
2003-05-22 02:42:44 +00:00
Werner Koch 905e6b2528 * fileutil.c (is_file_compressed): Fix the check for the "-" file
name.
2003-05-21 08:40:18 +00:00
David Shaw 95670642eb * argparse.c (default_strusage): Change copyright date. 2003-03-23 16:21:28 +00:00
David Shaw 2bffa31fcc * ttyio.c (tty_print_utf8_string, tty_print_utf8_string2): Use 0 to
indicate a string with no maximum size.  This prevents early truncation of
strings that contain control chars which are expanded into \xXX form.
2003-02-19 19:23:55 +00:00
David Shaw ad79ac8a80 * iobuf.c (iobuf_flush): Only print debug info if debugging is on. 2002-12-26 20:35:20 +00:00
Werner Koch d0180ee195 * ttyio.c (TERMDEVICE): Removed.
(tty_get_ttyname): New.
(init_ttyfp): Use it here instead of the TERMDEVICE macro.
2002-11-09 17:38:11 +00:00
David Shaw 23ac2c1e0a * secmem.c (secmem_free, secmem_term): Use wipememory2() instead of
memset() to overwrite secure memory.
2002-11-06 15:43:38 +00:00
Werner Koch 4be5257f2c * w32reg.c (read_w32_registry_string): Fixed expanding of the
environment buffer; didn't worked at all.  Reported by Thijmen
Klok.
2002-10-28 17:32:55 +00:00
Stefan Bellon 4884931476 reverted filetype patch 2002-10-28 15:26:43 +00:00
Stefan Bellon 191795d14b filetype support for RISC OS 2002-10-28 13:27:18 +00:00
Werner Koch 4b2cd72c24 * secmem.c (lock_pool) [__CYGWIN__]: Don't print secmem warning.
* iobuf.c (direct_open): Handle mode 'b' if O_BINARY is available.
2002-10-21 16:32:10 +00:00
Werner Koch 1d79b75b9c Comment fix for make_filename 2002-10-12 11:43:32 +00:00
Werner Koch e3415c3549 * w32reg.c (read_w32_registry_string): Fallback to HLM. 2002-09-16 20:37:55 +00:00
Werner Koch b4bb5fc072 * simple-gettext.c: Disable charset mappings. We do it now when
installing the files.
2002-09-11 12:57:57 +00:00
Werner Koch 075f862277 * w32reg.c (read_w32_registry_string): Handle REG_EXPAND_SZ.
Suggested by Ryan Malayter.
* strgutil.c (ascii_strcasecmp): Replaced by code from gnulib.
(ascii_strncasecmp): New.
2002-09-10 08:27:38 +00:00
Werner Koch f3484f7844 * strgutil.c (set_native_charset): Allow NULL as argument to use
nl_langinfo for selection.  Mapped latin-15 to latin-1.
2002-09-02 10:58:30 +00:00
Werner Koch c6178bdb69 * iobuf.c (block_filter): Removed the assert, so that one can pass
the first character of a message and use the block filter for
non partial length encoded packets.
2002-08-30 16:37:09 +00:00
Stefan Bellon 181dcc69f4 tidying up RISC OS stuff 2002-08-06 06:54:55 +00:00
Stefan Bellon 5631db0402 RISC OS changes because of dynload removal 2002-08-03 21:53:33 +00:00
Stefan Bellon 582f0d5d98 RISC OS changes due to dynload removal 2002-08-03 18:35:16 +00:00
David Shaw 2610f0ee62 * secmem.c: "Warning" -> "WARNING" 2002-07-25 18:00:00 +00:00
Werner Koch f07463b72c * argparse.c (initialize): We better exit after a read error so
that we don't run into an endless loop when reading a directory.
Noted by Andrew Suffield.
2002-07-05 06:25:14 +00:00
David Shaw fe1495e44e * argparse.c (optfile_parse): Fix variable typo - 'p2' should be 'p' :) 2002-07-01 21:42:41 +00:00
Werner Koch bc46bac1ad * argparse.c (optfile_parse): Renamed an auto I to P2 to avoid
shadowing warning.
2002-06-29 20:46:28 +00:00
David Shaw 3f51f7db3d Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
Werner Koch 613c15be88 Removed the libgcrypt stuff and started to modify the source to work with
that external library.
2000-12-19 18:28:36 +00:00
Werner Koch 93fe596356 This was missing in HEAD. 2000-10-11 08:02:17 +00:00
Werner Koch 986d928ce2 See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch 2000-09-18 14:35:34 +00:00
Werner Koch c9c709545a See ChangeLog: Fri Aug 18 14:27:14 CEST 2000 Werner Koch 2000-08-18 12:23:17 +00:00
Werner Koch d81c3f733b See ChangeLog: Fri Jul 28 18:19:11 CEST 2000 Werner Koch 2000-07-28 16:19:07 +00:00
Werner Koch b872ea2577 See ChangeLog: Tue Jul 25 17:44:15 CEST 2000 Werner Koch 2000-07-25 15:38:12 +00:00
Werner Koch 92cd255508 See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch 2000-07-14 17:34:53 +00:00