1 2009-05-27 David Shaw <dshaw@jabberwocky.com>
3 * srv.c (getsrv): Raise maximum packet size to 2048, as PACKETSZ
4 is too small these days.
6 2009-05-22 Werner Koch <wk@g10code.com>
8 * ttyio.c (tty_cleanup_after_signal): New.
10 2009-05-19 Werner Koch <wk@g10code.com>
12 * simple-pwquery.c (agent_open): Use SUN_LEN
13 (JNLIB_NEED_AFLOCAL): Define and include mischelp.h.
15 2009-05-07 Werner Koch <wk@g10code.com>
17 * sexputil.c (get_rsa_pk_from_canon_sexp): New.
18 * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): Extend the test.
20 2009-04-28 Werner Koch <wk@g10code.com>
22 * sexputil.c (make_canon_sexp_from_rsa_pk): New.
23 * t-sexputil.c (test_make_canon_sexp_from_rsa_pk): New.
25 2009-04-01 Werner Koch <wk@g10code.com>
27 * iobuf.c: Port David's changes from 1.4:
28 (fd_cache_invalidate): Pass return code from close back.
29 (direct_open, iobuf_ioctl): Check that eturn value.
30 (fd_cache_synchronize): New.
31 (iobuf_ioctl): Add new sub command 4 (fsync).
33 * iobuf.c (fd_cache_strcmp): New. Taken from 1.4.
34 (fd_cache_invalidate, fd_cache_close, fd_cache_open): Use it.
36 * exechelp.c (gnupg_spawn_process): Implement new flag bit 6.
37 * sysutils.c (gnupg_allow_set_foregound_window): Allow the use of
40 * membuf.c (put_membuf, get_membuf): Wipe memory on out of core.
42 2009-03-31 Werner Koch <wk@g10code.com>
44 * percent.c (percent_unescape, percent_plus_unescape): New.
45 (percent_plus_unescape_inplace, percent_unescape_inplace): New.
46 (do_plus_or_plain_unescape, count_unescape, do_unescape): New.
47 (do_unescape_inplace): New.
48 * t-percent.c (test_percent_plus_escape): Test percent_plus_unescape.
50 * get-passphrase.c, get-passphrase.h: New.
51 * Makefile.am (without_pth_sources): New.
53 2009-03-18 Werner Koch <wk@g10code.com>
55 * exechelp.c: Include sys/resource.h and sys/stat.h.
56 (get_max_open_fds): New.
58 (get_all_open_fds): New.
60 (do_exec): Use close_all_fds.
63 2009-03-13 David Shaw <dshaw@jabberwocky.com>
65 * http.c (do_parse_uri): Properly handle IPv6 literal addresses as
66 per RFC-2732. Adapted from patch by Phil Pennock.
68 2009-03-12 Werner Koch <wk@g10code.com>
70 * gettime.c: Include i18n.h.
73 2009-03-06 Werner Koch <wk@g10code.com>
75 * sexputil.c (make_canon_sexp): New.
77 2009-03-03 Werner Koch <wk@g10code.com>
79 * exechelp.c (do_exec): Make sure that /dev/null connected FDs are
82 2009-01-19 Werner Koch <wk@g10code.com>
84 * audit.c (writeout_li): Translate a few more result strings.
87 * convert.c (hex2str): Fix optimization to append a nul character.
89 2008-12-05 Werner Koch <wk@g10code.com>
91 * percent.c, t-percent.c: New.
93 * exechelp.c (gnupg_spawn_process, gnupg_spawn_process_fd)
94 (gnupg_spawn_process_detached) [W32]: Remove debug output.
96 2008-11-20 Werner Koch <wk@g10code.com>
98 * audit.c (writeout_li): Translate OKTEXT.
100 2008-11-04 Werner Koch <wk@g10code.com>
102 * i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
104 * homedir.c (gnupg_localedir): New.
106 2008-10-20 Werner Koch <wk@g10code.com>
108 * http.c (http_register_tls_callback) [!HTTP_USE_GNUTLS]: Mark
110 * localename.c (do_nl_locale_name): Ditto.
111 * audit.c (event2str): Silent gcc warning.
112 * sysutils.c (translate_sys2libc_fd): Mark unused arg.
113 (translate_sys2libc_fd_int): Ditto.
114 * iobuf.c (translate_file_handle): Ditto.
115 * asshelp.c (send_one_option): Ditto.
116 * exechelp.c (gnupg_spawn_process): Ditto.
117 * signal.c (got_usr_signal): Ditto
118 * estream.c (es_func_fd_create) [!W32]: Ditto.
119 (es_func_fp_create) [!W32]: Ditto.
120 (es_write_hexstring): Ditto.
121 (dummy_mutex_call_void, dummy_mutex_call_int) [HAVE_PTH]: New.
122 (ESTREAM_MUTEX_LOCK, ESTREAM_MUTEX_UNLOCK, ESTREAM_MUTEX_TRYLOCK)
123 (ESTREAM_MUTEX_INITIALIZE) [HAVE_PTH]: Use dummy calls so to mark
126 2008-10-19 Werner Koch <wk@g10code.com>
128 * estream-printf.c (estream_vsnprintf): Fix return value.
129 (check_snprintf): Add a new test.
130 (one_test) [W32]: Disable test.
132 2008-10-17 Werner Koch <wk@g10code.com>
134 * util.h (snprintf) [W32]: Redefine to estream_snprintf.
136 2008-09-03 Werner Koch <wk@g10code.com>
138 * convert.c (hex2str): New.
139 (hex2str_alloc): New.
140 * t-convert.c (test_hex2str): New.
142 2008-08-19 Werner Koch <wk@g10code.com>
144 * iobuf.c: Avoid passing a NULL (iobuf_t)->desc to the log
145 function. Should in general never be NULL, but well. Reported by
148 2008-06-26 Werner Koch <wk@g10code.com>
150 * estream.c (es_write_sanitized): Loose check for control
151 characters to better cope with utf-8. The range 0x80..0x9f is
152 nowadays not anymore accidently used for control charaters.
154 2008-06-25 Marcus Brinkmann <marcus@g10code.de>
156 Revert last three changes related to handle translation.
158 (FD_TRANSLATE_MAX, fd_translate, fd_translate_len)
159 (translate_table_init, translate_table_lookup): Removed.
160 * iobuf.c (check_special_filename): Do not use
161 translate_table_lookup.
162 * sysutils.h (translate_table_init, translate_table_lookup):
165 2008-06-19 Werner Koch <wk@g10code.com>
167 * sysutils.c: Remove <ctype.h>.
168 (fd_translate_max): Use macro for the size.
169 (translate_table_init): Protect read against EINTR and replace
172 2008-06-18 Marcus Brinkmann <marcus@g10code.de>
174 * sysutils.c (TRANS_MAX): Bump up to 350 to be on the safe side.
176 * sysutils.h (translate_table_init, translate_table_lookup): New
178 * sysutils.c: Include <ctype.h>.
179 (FD_TRANSLATE_MAX): New macro.
180 (fd_translate, fd_translate_len): New static variables.
181 (translate_table_init, translate_table_lookup): New functions.
182 (translate_sys2libc_fd_int): Translate file descriptor.
183 * iobuf.c (check_special_filename): Translate handle values from
186 2008-06-16 Werner Koch <wk@g10code.com>
188 * homedir.c (w32_commondir): New.
189 (gnupg_sysconfdir): Use it.
191 2008-06-09 Werner Koch <wk@g10code.com>
195 2008-06-05 Werner Koch <wk@g10code.com>
197 * util.h (gnupg_copy_time): Replace strcpy by memcpy.
199 2008-05-26 Werner Koch <wk@g10code.com>
201 * asshelp.c (send_one_option, send_pinentry_environment): use
202 xfree and xtrystrdup.
204 * i18n.c (i18n_switchto_utf8) [USE_SIMPLE_GETTEXT]: Return NULL.
206 * homedir.c (gnupg_module_name): Add
207 GNUPG_MODULE_NAME_CONNECT_AGENT and GNUPG_MODULE_NAME_GPGCONF.
209 2008-04-21 Werner Koch <wk@g10code.com>
211 * http.c (http_wait_response) [W32]: Use DuplicateHandle because
213 (cookie_read) [W32]: Use recv in place of read.
215 2008-04-08 Werner Koch <wk@g10code.com>
217 * i18n.c (i18n_switchto_utf8, i18n_switchback)
218 [USE_SIMPLE_GETTEXT]: Implement.
220 2008-04-07 Werner Koch <wk@g10code.com>
222 * b64enc.c (b64enc_start): Detect PGP mode.
223 (b64enc_finish): Write PGP CRC.
224 * util.h (struct b64state): Add field CRC.
227 * pka.c (get_pka_info): Use xtrymalloc and check result.
229 2008-03-25 Werner Koch <wk@g10code.com>
231 * localename.c: Strip all W32 code. Include w32help.h.
232 (gnupg_messages_locale_name) [W32]: Use the gettext_localename.
234 2008-03-17 Werner Koch <wk@g10code.com>
236 * iobuf.c (IOBUF_BUFFER_SIZE): Actually use this macro.
238 * simple-pwquery.c (agent_send_all_options): Fix last change.
240 2008-03-06 Werner Koch <wk@g10code.com>
242 * simple-pwquery.c (agent_send_all_options): Add support for
243 XAUTHORITY and PINENTRY_USER_DATA.
245 2008-02-15 Marcus Brinkmann <marcus@g10code.de>
247 * exechelp.c (gnupg_spawn_process_fd): Add flag DETACHED_PROCESS
248 unconditionally (required for all callers at the moment).
250 2008-02-14 Werner Koch <wk@g10code.com>
252 * sysutils.c (gnupg_allow_set_foregound_window): New.
253 (WINVER) [W32]: Define.
255 2008-01-31 Werner Koch <wk@g10code.com>
257 * audit.c (audit_print_result): Make sure that the output is
260 2008-01-27 Werner Koch <wk@g10code.com>
262 * exechelp.c (gnupg_spawn_process): Add arg FLAGS and changed all
263 callers to pass 0 for it.
265 2007-12-13 Werner Koch <wk@g10code.com>
267 * sexputil.c (hash_algo_from_sigval): New.
269 * Makefile.am (module_tests): Add it.
271 2007-12-11 Werner Koch <wk@g10code.com>
273 * asshelp.c (send_pinentry_environment): Allow using of old
274 gpg-agents not capabale of the xauthority and pinentry_user_data
277 2007-12-04 Werner Koch <wk@g10code.com>
279 * Makefile.am (t_helpfile_LDADD, module_maint_tests): New.
282 * membuf.h (is_membuf_ready, MEMBUF_ZERO): New.
283 * localename.c: New. Taken from gettext with modifications as done
284 for GpgOL. Export one new function.
285 * util.h (gnupg_messages_locale_name, gnupg_get_help_string): Added.
287 * sysutils.c (gnupg_reopen_std): New. Taken from ../g10/gpg.c.
289 2007-11-27 Werner Koch <wk@g10code.com>
291 * Makefile.am (CLEANFILES): New.
293 * homedir.c (dirmngr_socket_name): Use CSIDL_WINDOWS.
295 2007-11-15 Werner Koch <wk@g10code.com>
297 * asshelp.c (send_pinentry_environment): Add args XAUTHORITY and
299 (start_new_gpg_agent): Ditto.
301 2007-11-07 Werner Koch <wk@g10code.com>
306 2007-11-05 Werner Koch <wk@g10code.com>
308 * audit.c, audit.h: New.
309 * Makefile.am: Add rules to build audit-events.h.
311 * mkstrtable.awk: New. Taken from libgpg-error.
313 2007-10-19 Werner Koch <wk@g10code.com>
315 * i18n.c (i18n_switchto_utf8, i18n_switchback): New.
317 2007-10-01 Werner Koch <wk@g10code.com>
319 * sysutils.h (FD2INT, INT2FD): New.
321 2007-09-21 Werner Koch <wk@g10code.com>
323 * homedir.c (default_homedir): Make registry work. Reported by
326 2007-08-29 Werner Koch <wk@g10code.com>
328 * exechelp.c (gnupg_wait_process): Add arg EXITCODE. Changed all
330 (gnupg_create_inbound_pipe): New.
331 * util.h (GNUPG_MODULE_NAME_GPGSM, GNUPG_MODULE_NAME_GPG): New.
332 * homedir.c (gnupg_module_name): Add them
334 2007-08-28 Werner Koch <wk@g10code.com>
336 * gettime.c (check_isotime, add_isotime): New. Originally written
338 (add_days_to_isotime): New.
339 (date2jd, jd2date, days_per_month, days_per_year): New. Taken from
340 my ancient (1988) code used in Wedit (time2.c).
342 2007-08-27 Werner Koch <wk@g10code.com>
344 * util.h (GNUPG_MODULE_NAME_CHECK_PATTERN): New.
345 * homedir.c (gnupg_module_name): Add it.
346 * exechelp.c (w32_fd_or_null) [W32]: New.
347 (gnupg_spawn_process_fd): New.
348 (gnupg_wait_process) [W32]: Close the handle after if the process has
351 2007-08-22 Werner Koch <wk@g10code.com>
353 Updated estream from libestream.
355 * estream.c (mem_malloc, mem_realloc, mem_free): New. Use them
356 instead of the ES_MEM_foo.
357 * estream.c (estream_cookie_mem): Remove members DONT_FREE,
358 APPEND_ZERO, PTR and SIZE. Add MEMORY_LIMIT. Put GROW into a new
360 (es_func_mem_create): Remove APPEND_ZERO, DONT_FREE, PTR and
361 SIZE. Add MEMORY_LIMIT.
362 (es_func_mem_write, es_func_mem_seek, es_func_mem_destroy): Revamp.
363 (es_open_memstream): Change API to just take a memory limit and a
364 mode argument. Rename to ..
365 (es_fopenmem): .. this.
366 (HAVE_W32_SYSTEM) [_WIN32]: Define if not defined.
367 (tmpfd) [W32]: Implement directly using the W32 API.
368 (es_fgets): Rewrite without using doreadline.
370 2007-08-21 Werner Koch <wk@g10code.com>
372 * sysutils.c (gnupg_tmpfile): New.
374 * Makefile.am (module_tests): Add t-sysutils.
376 2007-08-20 Werner Koch <wk@g10code.com>
378 * exechelp.c [W32]: Redefine X_OK to F_OK.
380 2007-08-16 Werner Koch <wk@g10code.com>
382 * Makefile.am (t_convert_DEPENDENCIES): Remove
383 ($(PROGRAMS)): Remove.
384 (t_common_ldadd): Use libcommon.a and not the macro.
386 2007-08-14 Werner Koch <wk@g10code.com>
388 * homedir.c (dirmngr_socket_name): New.
390 2007-08-07 Werner Koch <wk@g10code.com>
392 * tlv.c, tlv.h: Move from ../scd/.
393 * tlv.c (parse_sexp, parse_ber_header): Add ERRSOURCE arg and prefix
395 * tlv.h: Use macro to convey ERRSOURCE.
397 2007-08-02 Werner Koch <wk@g10code.com>
399 * gc-opt-flags.h: New.
401 2007-08-01 Werner Koch <wk@g10code.com>
403 * estream-printf.c (read_dummy_value): Removed as it is useless now.
404 (read_values): Remove check on !vaargs which is not anymore needed
405 and anyway not portable. Reported by Peter O'Gorman.
407 2007-07-16 Werner Koch <wk@g10code.com>
409 * estream.c (es_func_file_create): Clear NO_CLOSE flag.
411 2007-07-12 Werner Koch <wk@g10code.com>
413 * sysutils.h (gnupg_fd_t): New.
414 * sysutils.c (translate_sys2libc_fd): Use that type instead of int.
415 (translate_sys2libc_fd_int): New.
417 2007-07-09 Werner Koch <wk@g10code.com>
419 * t-gettime.c (test_isotime2epoch): Use time_t and not u32.
421 2007-07-05 Werner Koch <wk@g10code.com>
424 * gettime.c (isotime2epoch, epoch2isotime): New.
426 2007-07-04 Werner Koch <wk@g10code.com>
428 * estream.c (es_init_do): Do not throw an error if pth has already
431 2007-06-26 Werner Koch <wk@g10code.com>
433 * Makefile.am ($(PROGRAMS)): New.
435 * util.h (init_common_subsystems): Moved to ..
437 * util.h: Include init.h.
439 * homedir.c (standard_homedir): New.
440 (default_homedir) [W32]: Reimplemented in terms of
441 standard_homedir. Fixed memory leak.
443 2007-06-25 Werner Koch <wk@g10code.com>
445 * iobuf.c: Add more documentation and slighly restructured macro
446 defintion for better readability.
447 (FILEP_OR_FD): Rename to fp_or_fd_t.
448 (CLOSE_CACHE): Rename to close_cache_t.
450 * sysutils.c (translate_sys2libc_fd): New using the code from iobuf.c.
451 * iobuf.c: Include sysutils.h.
452 (iobuf_translate_file_handle): Remove.
453 (translate_file_handle): Use new function.
455 * estream-printf.c [TEST]: Header including fixes.
456 (do_format): Do not append a trailing Nul. This avoids spurious
457 Nuls in the es_printf output.
458 (estream_vsnprintf, estream_vasprintf): Take this in account.
460 * estream.h (struct es__stream): Change FLAGS to a bit structure.
461 (ES__FLAG_WRITING): Replace by a bit from FLAGS. * estream.c
462 (struct estream_internal): Rename FLAGS to MODEFLAGS so that they
463 are not confused with the estream flags.
464 (es_initialize, es_create): Add arg MODEFLAGS so that we can setup
465 the intial writemode. Changed all callers to pass them.
466 (es_convert_mode): Set O_BINARY.
467 (es_func_fd_create, es_func_fp_create, es_func_file_create) [W32]:
468 Call setmode if requested.
470 2007-06-24 Werner Koch <wk@g10code.com>
472 * estream.c (do_fpopen, es_fpopen, es_fpopen_nc): New.
473 (es_func_fp_create, es_func_fp_read, es_func_fp_write)
474 (es_func_fp_seek, es_func_fp_destroy): New.
476 2007-06-22 Werner Koch <wk@g10code.com>
478 * estream.c (es_fdopen): Factored code out to..
481 (estream_cookie_fd): Add field NO_CLOSE.
482 (es_func_fd_create): Add arg NO_CLOSE and changed all callers.
483 (es_func_fd_destroy): Handle the new flag.
485 * homedir.c (gnupg_libexecdir) [W32]: Factor code out to ..
486 (w32_rootdir): .. new.
487 (gnupg_sysconfdir, gnupg_libdir, gnupg_datadir) [W32]: Return
488 name based on w32_rootdir().
490 2007-06-21 Werner Koch <wk@g10code.com>
492 * membuf.h (get_membuf_len): New.
494 * membuf.c (init_membuf_secure): Really allocate in secure memory.
495 (put_membuf_str): New.
497 * ttyio.c (tty_getf): New.
499 * util.h (ctrl_t): Declare it here.
501 * asshelp.c (start_new_gpg_agent): New. Based on code from
504 2007-06-20 Werner Koch <wk@g10code.com>
506 * sysutils.c (gnupg_sleep): New.
507 * sysutils.h [W32]: Remove _sleep wrapper. Changed all callers to
510 * exechelp.c (build_w32_commandline_copy): New.
511 (build_w32_commandline): Factored some code out to new function
512 and correctly process a PGMNAME with spaces.
513 (gnupg_spawn_process_detached) [W32]: Implement.
515 2007-06-14 Werner Koch <wk@g10code.com>
517 * simple-pwquery.h (MAP_SPWQ_ERROR_IMPL): New.
518 (SPWQ_NO_PIN_ENTRY): New.
519 * simple-pwquery.c (simple_pw_set_socket): New.
520 (agent_open): Use it if GPG_AGENT_INFO is not set.
521 (simple_pwquery): Extended to allow returning of otehyr error codes.
523 * util.h (GNUPG_MODULE_NAME_AGENT, GNUPG_MODULE_NAME_PINENTRY)
524 (GNUPG_MODULE_NAME_SCDAEMON, GNUPG_MODULE_NAME_DIRMNGR)
525 (GNUPG_MODULE_NAME_PROTECT_TOOL): New.
526 * homedir.c (gnupg_module_name): New.
529 2007-06-12 Werner Koch <wk@g10code.com>
531 * homedir.c (gnupg_sysconfdir): New.
532 (gnupg_libexecdir): New. Taken from g10/misc.c:get_libexecdir.
533 (gnupg_datadir): New.
536 * http.c (connect_server) [W32]: Do not call init_sockets if
537 HTTP_NO_WSASTARTUP is defined.
541 * estream.c (es_init_do): Init stream lock here because we can't
542 use a static initialization with W32pth.
544 2007-06-11 Werner Koch <wk@g10code.com>
546 * Makefile.am (t_common_ldadd): Use libcommonstd macro.
548 2007-06-06 Werner Koch <wk@g10code.com>
550 * Makefile.am: Include am/cmacros.am.
552 * sysutils.h [W32]: Remove prototypes for the registry access.
553 * w32reg.c: Move to ../jnlib/w32-reg.c.
555 * i18n.c (i18n_init): New.
557 * simple-gettext.c: Remove.
559 * iobuf.c (iobuf_get_filelength): Rename SIZE to EXSIZE to silent
562 2007-06-04 Werner Koch <wk@g10code.com>
564 * http.c [W32]: Include unistd.h also in this case.
565 (write_server) [W32]: Fixed error code.
566 (init_sockets): Fixed syntax error.
567 (cookie_close): Replace close by sock_close macro.
569 * estream.c [w32]: Do not init Mutex.
571 * Makefile.am (common_sources) [USE_SNS_SRV]: Build srv.c only
574 * ttyio.c (init_ttyfp) [W32]: Do not use TTYFP.
576 * util.h: Include ../jnlib/dynload.h.
578 * dynload.h: Move to ../jnlib.
580 2007-05-30 Werner Koch <wk@g10code.com>
582 * estream.c (MEM_FREE, MEM_ALLOC, MEM_REALLOC): Prefix with ES_ as
583 windows.h also has such definitions,
585 2007-05-15 Werner Koch <wk@g10code.com>
587 * util.h: Do not include gnulib's vasprintf. Redefine asprintf
590 * xasprintf.c (xasprintf, xtryasprintf): Use estream_vasprintf.
592 * estream-printf.h, estream-printf.c: New. Taken from current
594 * Makefile.am (common_sources): Add them.
596 2007-05-14 Werner Koch <wk@g10code.com>
598 * sexp-parse.h (smklen): New.
599 * sexputil.c: Include sexp-parse.h.
600 (make_simple_sexp_from_hexstr): Replace sprintf by smklen.
602 2007-05-07 Werner Koch <wk@g10code.com>
604 * signal.c (got_fatal_signal): Protect SIG from being clobbered by
605 a faulty signal implementaion. Suggested by James Juran.
607 2007-04-25 Werner Koch <wk@g10code.com>
609 * i18n.h (ngettext): New.
610 * simple-gettext.c (ngettext): New.
612 2007-04-20 Werner Koch <wk@g10code.com>
614 * miscellaneous.c (my_gcry_logger, my_gcry_outofcore_handler):
615 Moved from gpg-agent to here.
616 (my_gcry_fatalerror_handler): new.
617 (setup_libgcrypt_logging): New.
619 2007-03-19 Werner Koch <wk@g10code.com>
621 * miscellaneous.c (print_hexstring): New.
622 * estream.c (es_fprintf_unlocked): New.
623 (es_write_sanitized): New.
624 (es_write_hexstring): New.
625 (es_write_sanitized_utf8_buffer) [GNUPG_MAJOR_VERSION]: New.
627 2007-03-09 David Shaw <dshaw@jabberwocky.com>
629 From STABLE-BRANCH-1-4
631 * http.c (do_parse_uri): Remove the hkp port 11371 detection. We
632 implement hkp in the keyserver handler, and the support here makes
633 it appear like a bad hkp request actually succeeded.
635 2007-01-31 Werner Koch <wk@g10code.com>
637 * Makefile.am (t_common_ldadd): Add LIBINCONV and LIBINTL.
639 2007-01-25 Werner Koch <wk@g10code.com>
641 * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
643 2006-12-13 David Shaw <dshaw@jabberwocky.com>
645 * Makefile.am (AM_CPPFLAGS): Include intl/ so we can reference the
648 2006-11-23 Werner Koch <wk@g10code.com>
650 * http.c: Include i18n.h
652 2006-11-21 Werner Koch <wk@g10code.com>
654 * estream.c: Remove explicit Pth soft mapping diabling becuase it
655 is now done in config.h.
657 2006-11-15 Werner Koch <wk@g10code.com>
659 * estream.c: Disabled Pth soft mapping.
660 (my_funopen_hook_ret_t): New.
661 (print_fun_writer): Use it here.
663 * iobuf.c (fd_cache_close): Use %d instead of %p for debug output.
665 2006-11-03 Werner Koch <wk@g10code.com>
667 * Makefile.am (t_convert_DEPENDENCIES): Add libcommon. From
670 2006-10-24 Marcus Brinkmann <marcus@g10code.de>
672 * Makefile.am (libcommon_a_CFLAGS): Add $(LIBASSUAN_CFLAGS).
673 (libsimple_pwquery_a_CFLAGS): New variable.
675 2006-10-20 Werner Koch <wk@g10code.com>
677 * convert.c (hex2bin): New.
679 2006-10-17 Werner Koch <wk@g10code.com>
681 * estream.c (struct estream_internal, es_initialize)
682 (es_deinitialize, print_fun_writer, es_print): New and modified
683 functions to avoid tempfiles for printf style printing.
685 * Makefile.am (libcommonpth_a_SOURCES): New. We now build a secon
686 version of the library with explicit Pth support.
687 * exechelp.c, estream.c: Make use of WITHOUT_GNU_PTH.
689 2006-10-08 Werner Koch <wk@g10code.com>
691 * gpgrlhelp.c: Trun all functions into dummies if readline is not
694 2006-10-06 Werner Koch <wk@g10code.com>
696 * Makefile.am (AM_CFLAGS): Use PTH version of libassuan.
698 * util.h (GNUPG_GCC_A_SENTINEL): Defined for gcc >= 4.
700 2006-10-04 David Shaw <dshaw@jabberwocky.com>
702 * gpgrlhelp.c: readline requires stdio.h.
704 2006-10-04 Werner Koch <wk@g10code.com>
706 * membuf.c (init_membuf_secure): New.
707 (put_membuf): Make sure that ERRNO is set even if the underlying
708 malloc code does not work properly.
709 (get_membuf): Set ERRNO on error.
710 (get_membuf): Allow to pass LEN as NULL.
712 2006-10-02 Werner Koch <wk@g10code.com>
714 * iobuf.c (iobuf_unread): Removed. This code is not required.
715 Also removed the entire unget buffer stuff.
717 2006-09-27 Werner Koch <wk@g10code.com>
719 * util.h: Do not include strsep.h and strpbrk.h.
720 (isascii): Removed as it is now in jnlib.
722 * iobuf.c (pop_filter, underflow, iobuf_close): Free the unget
725 2006-09-27 Florian Weimer <fweimer@bfk.de> (wk)
727 * iobuf.c (iobuf_unread): New.
729 2006-09-22 Werner Koch <wk@g10code.com>
731 * i18n.h: Changed license to an all permissive one.
733 * ttyio.c (tty_get): We need to use readline too. Added two more
736 2006-09-21 Werner Koch <wk@g10code.com>
738 * ttyio.c (tty_private_set_rl_hooks): New.
739 (tty_enable_completion, tty_disable_completion): Use a hook to
740 enable readline support. Now always available.
741 (tty_cleanup_rl_after_signal): New.
743 * ttyio.h: Removed readline specific stuff. Included util.h.
744 * common-defs.h: New.
746 2006-09-15 Werner Koch <wk@g10code.com>
750 (bin2hex, bin2hexcolon, do_binhex): New.
753 2006-09-14 Werner Koch <wk@g10code.com>
755 * util.h (out_of_core): Use new gpg_error_from_syserror function.
757 * http.c (init_sockets): Changed it to require 2.2 unless it is
758 build within gnupg 1 where we require 1.1 (and not anymore allow
761 2006-09-07 Werner Koch <wk@g10code.com>
763 * exechelp.c (gnupg_spawn_process): Factor out post fork code to ..
764 (do_exec): .. new function. Allow passing of -1 for the fds.
765 (gnupg_spawn_process): Terminate gcrypt's secure memory in the child.
766 (gnupg_spawn_process_detached): New.
768 2006-09-06 Werner Koch <wk@g10code.com>
770 * maperror.c: Removed.
772 * util.h (out_of_core): New.
774 2006-09-04 Werner Koch <wk@g10code.com>
776 * http.c (http_get_header): New.
777 (capitalize_header_name, store_header): New.
778 (parse_response): Store headers away.
779 (send_request): Return GPG_ERR_NOT_FOUND if connect_server failed.
780 * http.h: New flag HTTP_FLAG_NEED_HEADER.
782 2006-08-21 Werner Koch <wk@g10code.com>
784 * Makefile.am (libcommon_a_SOURCES): Added keyserver.h
786 * openpgpdefs.h: New. Stripped from ..g10/packet.h.
788 2006-08-16 Werner Koch <wk@g10code.com>
790 * keyserver.h: Moved from ../include to here.
792 * http.c: Include srv.h.
794 * srv.c, srv.h: New. Taken from GnuPG 1.4
796 2006-08-14 Werner Koch <wk@g10code.com>
798 * http.h (struct http_context_s): Moved to implementation.
799 * http.c (http_open): Changed call to return a context.
800 (http_open_document): Ditto.
801 (http_get_read_ptr, http_get_read_ptr, http_get_status_code): New.
802 (do_parse_uri): Replaced strlwr by straight code to ease
803 standalone use of this file.
804 (http_wait_response): Removed arg STATUS_CODE as it is available
805 through an accessor function. Adjusted caller.
806 (http_escape_string): New.
808 * estream.c (es_read_line): Renamed to ..
809 (doreadline): .. this. Changed all callers.
810 (es_read_line): New. This is theusual limited getline variabnt as
811 used at several places. Here taken and adjusted from xreadline.c
814 2006-08-11 Werner Koch <wk@g10code.com>
816 * http.c: Major internal changes to optionallly support GNUTLS and
818 (http_open): Move initialization of the stream ...
819 (send_request): .. here.
820 (http_register_tls_callback): New.
822 * estream.c (es_writen): Try to seek only is a seek function has
825 2006-08-09 Werner Koch <wk@g10code.com>
827 * http.c, http.h: New. Taken from gnupg 1.4.5, merged with
828 changes done for the Dirmngr project (by g10 Code) and cleaned up
830 (make_header_line): New. Change all caller to make user of the new
831 * Makefile.am (libcommon_a_SOURCES): Added http.c and http.h.
833 2006-05-23 Werner Koch <wk@g10code.com>
835 * gettime.c (isotimestamp): New.
837 * ttyio.c (tty_get_ttyname): Posixly correct usage of ctermid.
839 * dns-cert.c: New. Taken from 1.4.3's util/cert.c.
842 2006-05-22 Werner Koch <wk@g10code.com>
844 * pka.c: New. Taked from 1.4.3.
846 * Makefile.am: Added pka.
848 2006-05-19 Werner Koch <wk@g10code.com>
850 * yesno.c (answer_is_yes_no_default, answer_is_yes_no_quit):
852 (answer_is_okay_cancel): new. From 1.4.3.
854 * miscellaneous.c (match_multistr): New. Taken from 1.4.3.
856 * ttyio.c (tty_enable_completion, tty_disable_completion): New
858 * ttyio.h: Add prototypes and stubs.
860 2006-04-19 Werner Koch <wk@g10code.com>
862 * iobuf.c (iobuf_get_fd): New. Taken from 1.4.3.
863 (iobuf_is_pipe_filename): New.
864 (pop_filter): Made static.
865 (iobuf_skip_rest): New. Orginal patch by Florian
866 Weimer. Added new argument PARTIAL.
867 (block_filter): Remove the old gpg indeterminate length mode.
868 (block_filter): Properly handle a partial body stream
869 that ends with a 5-byte length that happens to be zero.
870 (iobuf_set_block_mode, iobuf_in_block_mode): Removed as
872 (iobuf_get_filelength): New arg OVERFLOW.
873 (iobuf_get_filelength) [W32]: Use GetFileSizeEx if available
874 * miscellaneous.c (is_file_compressed): Take care of OVERFLOW.
876 2006-04-18 Werner Koch <wk@g10code.com>
878 * homedir.c (w32_shgetfolderpath): New. Taken from gpg 1.4.3.
879 (default_homedir): Use it.
881 2005-10-08 Marcus Brinkmann <marcus@g10code.de>
883 * signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
884 instead of just if it is defined.
886 2005-09-28 Marcus Brinkmann <marcus@g10code.de>
888 * Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
890 2005-07-04 Marcus Brinkmann <marcus@g10code.de>
892 * simple-pwquery.h (simple_pwclear): New prototype.
893 * simple-pwquery.c (simple_pwclear): New function.
895 2005-06-15 Werner Koch <wk@g10code.com>
897 * miscellaneous.c (make_printable_string): Made P a void*.
899 * sexputil.c (keygrip_from_canon_sexp, cmp_simple_canon_sexp):
900 Fixed signed/unsigned pointer mismatch.
901 (make_simple_sexp_from_hexstr): Ditto. This is all too ugly; I
902 wonder why gcc-4's default is to warn about them and forcing us to
903 use cast the warning away.
904 * iobuf.c (block_filter): Ditto.
905 (iobuf_flush): Ditto.
906 (iobuf_read_line): Ditto.
907 (iobuf_read): Make BUFFER a void *.
908 (iobuf_write): Make BUFFER a const void *.
909 * ttyio.c (tty_print_utf8_string2): Ditto.
910 * estream.c (estream_cookie_mem): Make MEMORY unsigned char*.
911 (es_write): Make BUFFER a void *.
913 (es_func_fd_read, es_func_fd_write, es_func_mem_read)
914 (es_func_mem_write): Ditto.
915 (es_read, es_readn): Ditto.
916 (es_func_mem_write): Made MEMORY_NEW an unsigned char *.
917 * estream.h (es_cookie_read_function_t)
918 (es_cookie_write_function_t): Changed buffer arg to void*.
920 2005-06-03 Werner Koch <wk@g10code.com>
922 * estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H!
923 (es_func_fd_read, es_func_fd_write): Protect against EINTR.
925 2005-06-01 Werner Koch <wk@g10code.com>
927 * Makefile.am (AM_CPPFLAGS): Added.
929 * util.h: Add some includes for gnulib.
930 (ttyname, isascii): Define them inline.
931 * fseeko.c, ftello.c: Removed.
932 * strsep.c, mkdtemp.c: Removed.
933 * ttyname.c, isascii.c: Removed.
935 2005-05-31 Werner Koch <wk@g10code.com>
937 * dynload.h: s/__inline__/inline/.
939 2005-05-13 Werner Koch <wk@g10code.com>
941 * signal.c (got_fatal_signal): Print the signal number if we can't
943 (get_signal_name): Return NULL if no name is available. Fixed
944 conditional for sys_siglist to the correct one.
946 2005-04-17 Werner Koch <wk@g10code.com>
948 * sexputil.c (cmp_simple_canon_sexp): New.
949 (make_simple_sexp_from_hexstr): New.
951 2005-04-07 Werner Koch <wk@g10code.com>
955 2005-04-11 Marcus Brinkmann <marcus@g10code.de>
957 * simple-pwquery.c (simple_pwquery): Use spwq_secure_free.
959 2005-03-03 Werner Koch <wk@g10code.com>
961 * Makefile.am (AM_CFLAGS): Added PTH_CFLAGS. Noted by Kazu Yamamoto.
963 2005-02-25 Werner Koch <wk@g10code.com>
965 * xasprintf.c (xtryasprintf): New.
967 2005-01-26 Moritz Schulte <moritz@g10code.com>
969 * Makefile.am (libcommon_a_SOURCES): New source files: estream.c,
971 * estream.c, estream.h: New files.
973 2005-01-03 Werner Koch <wk@g10code.com>
975 * asshelp.c (send_pinentry_environment): Fixed changed from
976 2004-12-18; cut+paste error for lc-messages.
978 2004-12-21 Werner Koch <wk@g10code.com>
980 * simple-pwquery.c (agent_open) [W32]: Implement for W32.
981 (readline) [W32]: Use recv instead of read.
982 (writen) [W32]: Use send instead of write.
983 (my_stpcpy): Define a stpcpy replacement so that this file
984 continues to be self-contained.
985 (agent_send_all_options) [W32]: Don't call ttyname.
987 2004-12-21 Marcus Brinkmann <marcus@g10code.de>
989 * simple-pwquery.h (simple_query): Add prototype.
990 * simple-pwquery.c (simple_query): New function.
992 2004-12-21 Werner Koch <wk@g10code.com>
994 * signal.c (got_fatal_signal, got_usr_signal)
995 (got_fatal_signal) [DOSISH]: Don't build.
996 * simple-gettext.c: Include sysutils.h
998 * homedir.c: New. Use CSIDL_APPDATA for W32 as the default home
1000 * Makefile.am (libcommon_a_SOURCES): Add it.
1001 (EXTRA_DIST): Removed mkerror and mkerrtok.
1003 2004-12-20 Werner Koch <wk@g10code.com>
1005 * sysutils.h [W32]: Define sleep.
1006 * util.h: Add prototype for mkdtemp.
1008 * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
1010 2004-12-19 Werner Koch <wk@g10code.com>
1012 * maperror.c (map_assuan_err_with_source): Oops, args were swapped.
1014 2004-12-18 Werner Koch <wk@g10code.com>
1016 * maperror.c (map_assuan_err): Renamed to ..
1017 (map_assuan_err_with_source): .. this and add arg SOURCE.c
1018 * asshelp.c (send_pinentry_environment, send_one_option): Add arg
1021 2004-12-15 Werner Koch <wk@g10code.com>
1023 * sysutils.h [W32]: Prototypes for registry functions.
1024 * w32reg.c: Include sysutils.h
1026 * simple-pwquery.c [W32]: Dummy code to allow a build.
1028 * exechelp.c [W32]: Implemented for W32 .
1032 * asshelp.c (send_one_option): New.
1033 (send_pinentry_environment): Cleaned up and made sure that empty
1034 values are not send.
1036 2004-12-07 Werner Koch <wk@g10code.com>
1038 * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
1040 2004-12-06 Werner Koch <wk@g10code.com>
1042 * exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.
1044 2004-12-03 Werner Koch <wk@g10code.com>
1046 * strsep.c: Fixed copyright comments.
1048 2004-11-26 Werner Koch <wk@g10code.com>
1050 * simple-gettext.c: New taken from gnupg 1.3.x
1052 * simple-pwquery.c [_WIN32]: Include winsock2.h.
1053 (agent_open): Disable it until we have our AF_UNIX implementation
1055 * fseeko.c, ftello.c: Include sys/types for the sake of W32.
1057 2004-11-23 Werner Koch <wk@g10code.com>
1059 * b64enc.c: Include stdio.h and string.h
1061 2004-08-18 Werner Koch <wk@g10code.de>
1063 * simple-pwquery.c (simple_pwquery): Handle gpg-error style return
1066 2004-07-20 Werner Koch <wk@g10code.de>
1068 * maperror.c: Removed header ksba.h. Not required anymore.
1070 2004-06-14 Werner Koch <wk@gnupg.org>
1072 * xreadline.c: New. Based on the iobuf_read_line function.
1074 2004-05-12 Werner Koch <wk@gnupg.org>
1076 * util.h (xtrycalloc_secure,xtrymalloc_secure): New.
1078 2004-05-11 Werner Koch <wk@gnupg.org>
1080 * sysutils.c (disable_core_dumps): Only set the current limit.
1081 (enable_core_dumps): New.
1083 2004-04-13 Werner Koch <wk@gnupg.org>
1085 * simple-pwquery.c (copy_and_escape): Relaxed quoting.
1087 2004-04-05 Werner Koch <wk@gnupg.org>
1089 * errors.h (STATUS_NEWSIG): New.
1091 2004-03-11 Werner Koch <wk@gnupg.org>
1093 * dynload.h [__MINGW32__]: Define RTLD_LAZY.
1095 2004-03-09 Werner Koch <wk@gnupg.org>
1097 * maperror.c (map_assuan_err): Map the Locale_Problem item.
1099 2004-03-03 Werner Koch <wk@gnupg.org>
1101 * asshelp.c, asshelp.h: New.
1102 (send_pinentry_environment): New. Code taken from ../sm/call-agent.c.
1104 2004-02-19 Werner Koch <wk@gnupg.org>
1106 * simple-pwquery.c (agent_open): Don't mangle INFOSTR.
1108 2004-02-17 Werner Koch <wk@gnupg.org>
1110 * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
1112 * errors.h: Added STATUS_IMPORT_OK.
1114 2004-02-10 Werner Koch <wk@gnupg.org>
1116 * b64enc.c: New. Based on code from ../sm/base64.c.
1118 2004-01-30 Marcus Brinkmann <marcus@g10code.de>
1120 * Makefile.am (libcommon_a_SOURCES): Add xasprintf.c.
1121 * miscellaneous.c (xasprintf): Moved to ...
1122 * xasprintf (xasprintf): ... here. New file.
1123 This allows to use xasprintf without sucking in gpg-error.
1125 2004-01-27 Werner Koch <wk@gnupg.org>
1127 * sexp-parse.h: New; moved from../agent.
1129 * util.h (xtoi_4): New.
1131 2003-12-23 Werner Koch <wk@gnupg.org>
1133 * maperror.c (map_assuan_err): Prepared for a new error code.
1135 2003-12-17 Werner Koch <wk@gnupg.org>
1137 * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
1139 * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
1140 replacement function.
1142 * miscellaneous.c (xasprintf): New.
1144 2003-11-14 Werner Koch <wk@gnupg.org>
1146 * mkdtemp.c (mkdtemp): Use gcry_create_nonce.
1148 * cryptmiss.c: Removed.
1150 2003-11-13 Werner Koch <wk@gnupg.org>
1152 * util.h (vasprintf): Also fixed the prototype.
1154 * vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed
1155 segv on Solaris. Reported by Andrew J. Schorr.
1157 2003-11-12 Werner Koch <wk@gnupg.org>
1159 * maperror.c (map_ksba_err, map_gcry_err, map_kbx_err): Removed.
1161 2003-10-31 Werner Koch <wk@gnupg.org>
1163 * util.h (gnupg_isotime_t): New.
1164 (gnupg_copy_time): New.
1166 * gettime.c (gnupg_get_isotime): New.
1168 2003-09-23 Werner Koch <wk@gnupg.org>
1170 * iobuf.c (check_special_filename): Replaced is isdigit by digitp
1171 to avoid passing negative values and potential locale problems.
1172 Problem noted by Christian Biere.
1174 * util.h (ascii_isspace): New.
1176 2003-09-18 Werner Koch <wk@gnupg.org>
1178 * ttyio.c (tty_fprintf): New.
1179 (tty_print_string, tty_print_utf8_string2)
1180 (tty_print_utf8_string): Made P argument const byte*.
1182 2003-08-20 Marcus Brinkmann <marcus@g10code.de>
1184 * maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set
1187 2003-08-14 Timo Schulz <twoaday@freakmail.de>
1189 * dynload.h. New. W32 wrapper around the dynload mechanism.
1191 2003-07-15 Werner Koch <wk@gnupg.org>
1193 * simple-pwquery.c, simple-pwquery.h: New; moved from ../agent.
1194 * Makefile.am (libsimple_pwquery_a_LIBADD): New.
1196 2003-06-25 Werner Koch <wk@gnupg.org>
1198 * maperror.c (map_to_assuan_status): Directly map 0 to 0.
1200 2003-06-17 Werner Koch <wk@gnupg.org>
1202 * gettime.c (scan_isodatestr,add_days_to_timestamp,strtimevalue)
1203 (strtimestamp,asctimestamp): New. Code taken from gnupg 1.3.2
1206 * yesno.c: New. Code taken from gnupg 1.3.2 mischelp.c
1208 * miscellaneous.c: New.
1210 * util.h: Include utf8conf.h
1212 2003-06-16 Werner Koch <wk@gnupg.org>
1214 * gettime.c (make_timestamp): New.
1216 * ttyio.c: New. Taken from gnupg 1.2.
1217 * ttyio.h: Move from ../include.
1219 2003-06-13 Werner Koch <wk@gnupg.org>
1221 * util.h (seterr): Removed macro.
1222 (xmalloc_secure,xcalloc_secure): New.
1224 2003-06-11 Werner Koch <wk@gnupg.org>
1226 * iobuf.c (iobuf_writebyte,iobuf_write): Return error code from
1228 (iobuf_writestr): Ditto.
1230 2003-06-10 Werner Koch <wk@gnupg.org>
1232 * iobuf.c, iobuf.h: New. Taken from current gnupg 1.3 CVS. Run
1233 indent on it and adjusted error handling to libgpg-error style.
1234 Replaced IOBUF by iobuf_t. Renamed malloc functions.
1236 2003-06-04 Werner Koch <wk@gnupg.org>
1238 * errors.h: Removed all error codes. We keep the status codes for
1240 * Makefile.am: Do not create errors.c anymore; remove it from the
1243 * maperror.c: Don't include error.h. Change all error codes to
1245 (map_assuan_err): Changed to new Assuan error code convention.
1246 (map_to_assuan_status): Likewise.
1247 (map_gcry_err,map_kbx_err): Not needed. For now dummy functions.
1249 * membuf.c, membuf.h: New. Code taken from ../sm/call-agent.h.
1250 * Makefile.am: Added above.
1252 2003-04-29 Werner Koch <wk@gnupg.org>
1254 * util.h (fopencokokie): Removed prototype and struct.
1256 * fopencookie.c: Removed.
1258 * maperror.c: Use system assuan.h
1260 2002-10-31 Neal H. Walfield <neal@g10code.de>
1262 * isascii.c: New file.
1263 * putc_unlocked.c: Likewise.
1265 2002-10-28 Neal H. Walfield <neal@g10code.de>
1267 * signal.c (caught_fatal_sig): Remove superfluous zero
1269 (caught_sigusr1): Likewise.
1271 2002-09-04 Neal H. Walfield <neal@g10code.de>
1273 * vasprintf.c (vasprintf) [va_copy]: Use va_copy.
1274 [!va_copy && __va_copy]: Use __va_copy.
1275 [!va_copy && !__va_copy]: Only now fall back to using memcpy.
1277 2002-08-21 Werner Koch <wk@gnupg.org>
1279 * errors.h: Added STATUS_IMPORT_PROBLEM.
1281 2002-08-20 Werner Koch <wk@gnupg.org>
1283 * vasprintf.c: Hack to handle NULL for %s.
1285 2002-08-09 Werner Koch <wk@gnupg.org>
1287 * signal.c: New. Taken from GnuPG 1.1.91.
1289 2002-07-23 Werner Koch <wk@gnupg.org>
1291 * util.h (_IO_cookie_io_functions_t): Fixed typo. Noted by
1294 2002-07-22 Werner Koch <wk@gnupg.org>
1296 * fseeko.c, ftello.c: New.
1298 2002-06-28 Werner Koch <wk@gnupg.org>
1300 * maperror.c (map_to_assuan_status): Map more errorcodes to Bad
1303 2002-06-26 Werner Koch <wk@gnupg.org>
1305 * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
1307 2002-06-10 Werner Koch <wk@gnupg.org>
1309 * errors.h (gnupg_error_token): Add new prototype.
1310 (STATUS_ERROR): New.
1313 * Makefile.am: Use it to create the new error token function.
1315 2002-06-04 Werner Koch <wk@gnupg.org>
1317 * maperror.c (map_to_assuan_status): Map Bad_CA_Certificate.
1319 2002-05-23 Werner Koch <wk@gnupg.org>
1321 * no-pth.c, Makefile.am: Removed.
1323 2002-05-22 Werner Koch <wk@gnupg.org>
1325 * mkdtemp.c: Replaced byte by unsigned char because it is no longer
1326 defined in gcrypt.h.
1328 2002-05-21 Werner Koch <wk@gnupg.org>
1330 * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors.
1331 (map_ksba_err): Add a few mappings.
1333 2002-05-14 Werner Koch <wk@gnupg.org>
1337 2002-05-03 Werner Koch <wk@gnupg.org>
1339 * errors.h: Added STARUS_EXPSIG and STATUS_EXPKEYSIG.
1341 2002-04-15 Werner Koch <wk@gnupg.org>
1345 2002-02-14 Werner Koch <wk@gnupg.org>
1347 * maperror.c: Add more assuan<->gnupg mappings.
1349 2002-02-12 Werner Koch <wk@gnupg.org>
1351 * fopencookie.c: Dummy function.
1353 * vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non
1354 ANSI-C stuff. Merged with asprintf version.
1358 2002-01-23 Werner Koch <wk@gnupg.org>
1360 * mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.
1362 2002-01-19 Werner Koch <wk@gnupg.org>
1364 * sysutils.c: New. This is the misc.c file from gnupg 1.0.6 with
1365 the OpenPGP stuff removed.
1368 2002-01-15 Werner Koch <wk@gnupg.org>
1370 * maperror.c: Add mapping for Not_Trusted.
1372 2002-01-11 Werner Koch <wk@gnupg.org>
1374 * maperror.c (map_assuan_err): Codes for CRL
1376 2002-01-08 Werner Koch <wk@gnupg.org>
1378 * util.h (spacep): New.
1380 2002-01-02 Werner Koch <wk@gnupg.org>
1382 * maperror.c (map_to_assuan_status): New. Merged from ../agent
1385 2001-12-20 Werner Koch <wk@gnupg.org>
1387 * maperror.c (map_gcry_err): Add some mappings.
1389 2001-12-18 Werner Koch <wk@gnupg.org>
1391 * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba
1393 2001-12-14 Werner Koch <wk@gnupg.org>
1395 * util.h (digitp, hexdigitp): New ctype like macros.
1396 (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
1399 Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007,
1400 2008, 2009 Free Software Foundation, Inc.
1402 This file is free software; as a special exception the author gives
1403 unlimited permission to copy and/or distribute it, with or without
1404 modifications, as long as this notice is preserved.
1406 This file is distributed in the hope that it will be useful, but
1407 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1408 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.