aboutsummaryrefslogtreecommitdiffstats
path: root/common (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-12-21* homedir.c: New. Use CSIDL_APPDATA for W32 as the default homeWerner Koch2-1/+42
directory.
2004-12-21* gpg-agent.c (main): Use default_homedir().Werner Koch6-7/+70
* protect-tool.c (main): Ditto. * signal.c (got_fatal_signal, got_usr_signal) (got_fatal_signal) [DOSISH]: Don't build. * simple-gettext.c: Include sysutils.h * homedir.c: New. * Makefile.am (libcommon_a_SOURCES): Add it. (EXTRA_DIST): Removed mkerror and mkerrtok. * gpgv.c, g10.c (main): Use default_hoemdir (). * scdaemon.c (main): Use default_homedir(). * gpgsm.c (main): Use default_homedir().
2004-12-20* configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch4-1/+17
directories default to c:/gnupg. Require libassuan 0.6.9. * gpg-agent.c (main) [W32]: Now that Mutexes work we can remove the pth_init kludge. (main): Add new options --[no-]use-standard-socket. (check_for_running_agent): Check whether it is running on the standard socket. * sysutils.h [W32]: Define sleep. * util.h: Add prototype for mkdtemp. * call-agent.c (start_agent): Before starting a pipe server start to connect to a server on the standard socket. Use PATHSEP * call-dirmngr.c (start_dirmngr): Use PATHSEP. * import.c: Include unistd.h for dup and close.
2004-12-20* call-scd.c (init_membuf, put_membuf, get_membuf): Removed. WeWerner Koch2-0/+9
now use the identical implementation from ../common/membuf.c. * pksign.c (agent_pksign): Changed arg OUTFP to OUTBUF and use membuf functions to return the value. * pkdecrypt.c (agent_pkdecrypt): Ditto. * genkey.c (agent_genkey): Ditto. * command.c (cmd_pksign, cmd_pkdecrypt, cmd_genkey): Replaced assuan_get_data_fp() by a the membuf scheme. (clear_outbuf, write_and_clear_outbuf): New. * membuf.c (put_membuf): Wipe out buffer after a failed realloc.
2004-12-19* maperror.c (map_assuan_err_with_source): Oops, args were swapped.Werner Koch2-1/+5
* w32-pth.c (pth_init): Enable debugging depending on env var.
2004-12-18* configure.ac (AH_BOTTOM): Define EXEEXT_S.Werner Koch1-1/+1
* autogen.sh: Updated --build-w32 feature. * gpg-agent.c (main): Remove special Pth initialize. * w32-pth.c (pth_init): Reverse return values. Use TRUE and FALSE constants. (pth_kill, pth_mutex_acquire, pth_attr_set, pth_join, pth_cancel): Ditto. * scdaemon.c (main) [W32]: Remove special Pth initialize..
2004-12-18Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch5-10/+20
2004-12-15A whole bunch of changes to allow building for W32.Werner Koch9-83/+385
2004-12-13VArious hacks to make it at least build under W32.Werner Koch1-0/+2
* stringhelp.c (w32_strerror) [W32]: New. * w32-pth.c, w32-pth.h: Added real code written by Timo Schulz. Not finished, though. * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
2004-12-07* asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch2-0/+9
* w32-pth.c, w32-pth.h: New. * Makefile.am (gpgsm_LDADD): Put libassuan before jnlib because under W32 we need the w32 pth code from jnlib. * misc.c (setup_pinentry_env) [W32]: Disabled.
2004-12-06* exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.Werner Koch4-0/+280
* gpgsm.c (run_protect_tool) [_WIN32]: Disabled. * import.c (popen_protect_tool): Simplified by making use of gnupg_spawn_process. (parse_p12): Likewise, using gnupg_wait_process. * export.c (popen_protect_tool): Ditto. (export_p12): Ditto.
2004-12-03Fixed copyright comments.V1-9-13Werner Koch2-14/+21
2004-12-02First take on a W32 portWerner Koch9-1/+706
2004-11-23* b64enc.c: Include stdio.h and string.hWerner Koch2-0/+6
* gpgsm.c: New option --prefer-system-dirmngr. * call-dirmngr.c (start_dirmngr): Implement this option. * gpgconf-comp.c <dirmngr>: Add the proxy options. <gpgsm>: Add --prefer-system-daemon.
2004-08-18(simple_pwquery): Handle gpg-error style returnWerner Koch2-2/+13
code for canceled.
2004-07-20* Makefile.am (sm): Build kbx only if gpgsm is to be build.Werner Koch2-1/+4
* maperror.c: Removed header ksba.h. Not required anymore.
2004-06-14* xreadline.c: New. Based on the iobuf_read_line function.Werner Koch4-0/+126
* no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. * gpgconf-comp.c (retrieve_options_from_program) (retrieve_options_from_file, change_options_file) (change_options_program, gc_component_change_options): Replaced getline by read_line and test for allocation failure.
2004-06-06* util.h (xtrycalloc_secure,xtrymalloc_secure): New.Werner Koch2-1/+7
2004-05-11* sysutils.c (disable_core_dumps): Only set the current limit.Werner Koch3-7/+36
(enable_core_dumps): New. * gpgsm.texi (Esoteric Options): Add --debug-allow-core-dump. * gpgsm.c: New option --debug-allow-core-dump. * gpgsm.h (opt): Add member CONFIG_FILENAME. * gpgsm.c (main): Use it here instead of the local var. * server.c (gpgsm_server): Print some additional information with the hello in verbose mode.
2004-04-20Removed this file from the CVS.Werner Koch1-37/+0
2004-04-13(copy_and_escape): Relaxed quoting.Werner Koch2-5/+11
2004-04-05(STATUS_NEWSIG): New.Werner Koch2-1/+6
2004-03-16* dynload.h [__MINGW32__]: Define RTLD_LAZY.Werner Koch3-2/+10
2004-03-06Preparing for a releaseWerner Koch4-1/+209
2004-02-19* protect-tool.c: New options --have-cert and --prompt.Werner Koch2-1/+10
(export_p12_file): Read a certificate from STDIN and pass it to p12_build. Detect a keygrip and construct the filename in that case. Unprotcet a key if needed. Print error messages for key formats we can't handle. (release_passphrase): New. (get_passphrase): New arg PROMPTNO. Return the allocated string. Changed all callers. * minip12.c: Revamped the build part. (p12_build): New args CERT and CERTLEN. * simple-pwquery.c (agent_open): Don't mangle INFOSTR. * export.c (export_p12, popen_protect_tool) (gpgsm_p12_export): New. * gpgsm.c (main): New command --export-secret-key-p12.
2004-02-18* simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.Werner Koch2-1/+3
2004-02-17Added STATUS_IMPORT_OK.Werner Koch2-0/+5
2004-02-12minor cleanupsWerner Koch2-3/+3
2004-02-10New. Based on code from ../sm/base64.c.Werner Koch4-2/+234
2004-01-302004-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann4-19/+52
* Makefile.am (libcommon_a_SOURCES): Add xasprintf.c. * miscellaneous.c (xasprintf): Moved to ... * xasprintf (xasprintf): ... here. New file. This allows to use xasprintf without sucking in gpg-error.
2004-01-27Some minor bug fixes, new test utilities and started support for otherWerner Koch4-1/+108
smartcard applications.
2003-12-23(map_assuan_err): Prepared for a new error code.Werner Koch2-11/+8
2003-12-17* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.Werner Koch4-3/+40
* util.h [!HAVE_VASPRINTF]: Add printf format attribute to the replacement function. * miscellaneous.c (xasprintf): New.
2003-11-17Preparing for 1.9.2 release.V1-9-2Werner Koch2-5/+4
2003-11-14Removed.Werner Koch3-40/+4
2003-11-13(vasprintf): Also fixed the prototype.Werner Koch2-1/+3
2003-11-13(vasprintf): ARGS should not be a pointer. FixedWerner Koch2-2/+7
segv on Solaris. Reported by Andrew J. Schorr.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch3-45/+4
2003-10-31* util.h (gnupg_isotime_t): New.Werner Koch3-0/+52
(gnupg_copy_time): New. * gettime.c (gnupg_get_isotime): New.
2003-09-23Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch4-18/+30
2003-09-18(tty_fprintf): New.Werner Koch3-7/+64
(tty_print_string, tty_print_utf8_string2) (tty_print_utf8_string): Made P argument const byte*.
2003-08-202003-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-2/+7
* maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set the error source.
2003-08-14Add 'dynload.h' to Makefile.am.Timo Schulz1-1/+2
2003-08-14*** empty log message ***Timo Schulz2-8/+6
2003-08-142003-08-14 Timo Schulz <[email protected]>Timo Schulz2-0/+75
* dlfcn.h. New. W32 wrapper around the dynload mechanism.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin17-0/+4965
'GNUPG-1-9-BRANCH'.
2003-01-09This commit was manufactured by cvs2svn to create branchRepo Admin3-0/+286
'GNUPG-1-9-BRANCH'.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin8-1098/+0
'GNUPG-1-9-BRANCH'.
2002-09-052002-09-04 Neal H. Walfield <[email protected]>Neal Walfield2-1/+14
* vasprintf.c (vasprintf) [va_copy]: Use va_copy. [!va_copy && __va_copy]: Use __va_copy. [!va_copy && !__va_copy]: Only now fall back to using memcpy.
2002-08-21* errors.h: Added STATUS_IMPORT_PROBLEM.Werner Koch2-0/+5