aboutsummaryrefslogtreecommitdiffstats
path: root/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * homedir.c: New. Use CSIDL_APPDATA for W32 as the default homeWerner Koch2004-12-212-1/+42
| | | | | directory.
* * gpg-agent.c (main): Use default_homedir().Werner Koch2004-12-216-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().
* * configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch2004-12-204-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.
* * call-scd.c (init_membuf, put_membuf, get_membuf): Removed. WeWerner Koch2004-12-202-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.
* * maperror.c (map_assuan_err_with_source): Oops, args were swapped.Werner Koch2004-12-192-1/+5
| | | | | * w32-pth.c (pth_init): Enable debugging depending on env var.
* * configure.ac (AH_BOTTOM): Define EXEEXT_S.Werner Koch2004-12-181-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..
* Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2004-12-185-10/+20
|
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-159-83/+385
|
* VArious hacks to make it at least build under W32.Werner Koch2004-12-131-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.
* * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch2004-12-072-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.
* * exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.Werner Koch2004-12-064-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.
* Fixed copyright comments.V1-9-13Werner Koch2004-12-032-14/+21
|
* First take on a W32 portWerner Koch2004-12-029-1/+706
|
* * b64enc.c: Include stdio.h and string.hWerner Koch2004-11-232-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.
* (simple_pwquery): Handle gpg-error style returnWerner Koch2004-08-182-2/+13
| | | | | code for canceled.
* * Makefile.am (sm): Build kbx only if gpgsm is to be build.Werner Koch2004-07-202-1/+4
| | | | | * maperror.c: Removed header ksba.h. Not required anymore.
* * xreadline.c: New. Based on the iobuf_read_line function.Werner Koch2004-06-144-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.
* * util.h (xtrycalloc_secure,xtrymalloc_secure): New.Werner Koch2004-06-062-1/+7
|
* * sysutils.c (disable_core_dumps): Only set the current limit.Werner Koch2004-05-113-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.
* Removed this file from the CVS.Werner Koch2004-04-201-37/+0
|
* (copy_and_escape): Relaxed quoting.Werner Koch2004-04-132-5/+11
|
* (STATUS_NEWSIG): New.Werner Koch2004-04-052-1/+6
|
* * dynload.h [__MINGW32__]: Define RTLD_LAZY.Werner Koch2004-03-163-2/+10
|
* Preparing for a releaseWerner Koch2004-03-064-1/+209
|
* * protect-tool.c: New options --have-cert and --prompt.Werner Koch2004-02-192-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.
* * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.Werner Koch2004-02-182-1/+3
|
* Added STATUS_IMPORT_OK.Werner Koch2004-02-172-0/+5
|
* minor cleanupsWerner Koch2004-02-122-3/+3
|
* New. Based on code from ../sm/base64.c.Werner Koch2004-02-104-2/+234
|
* 2004-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-01-304-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.
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-274-1/+108
| | | | | smartcard applications.
* (map_assuan_err): Prepared for a new error code.Werner Koch2003-12-232-11/+8
|
* * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.Werner Koch2003-12-174-3/+40
| | | | | | | | * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the replacement function. * miscellaneous.c (xasprintf): New.
* Preparing for 1.9.2 release.V1-9-2Werner Koch2003-11-172-5/+4
|
* Removed.Werner Koch2003-11-143-40/+4
|
* (vasprintf): Also fixed the prototype.Werner Koch2003-11-132-1/+3
|
* (vasprintf): ARGS should not be a pointer. FixedWerner Koch2003-11-132-2/+7
| | | | | segv on Solaris. Reported by Andrew J. Schorr.
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-123-45/+4
|
* * util.h (gnupg_isotime_t): New.Werner Koch2003-10-313-0/+52
| | | | | | | (gnupg_copy_time): New. * gettime.c (gnupg_get_isotime): New.
* Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch2003-09-234-18/+30
|
* (tty_fprintf): New.Werner Koch2003-09-183-7/+64
| | | | | | (tty_print_string, tty_print_utf8_string2) (tty_print_utf8_string): Made P argument const byte*.
* 2003-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-202-2/+7
| | | | | | * maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set the error source.
* Add 'dynload.h' to Makefile.am.Timo Schulz2003-08-141-1/+2
|
* *** empty log message ***Timo Schulz2003-08-142-8/+6
|
* 2003-08-14 Timo Schulz <[email protected]>Timo Schulz2003-08-142-0/+75
| | | | | * dlfcn.h. New. W32 wrapper around the dynload mechanism.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-0517-0/+4965
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-01-093-0/+286
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-198-1098/+0
| | | | 'GNUPG-1-9-BRANCH'.
* 2002-09-04 Neal H. Walfield <[email protected]>Neal Walfield2002-09-052-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.
* * errors.h: Added STATUS_IMPORT_PROBLEM.Werner Koch2002-08-212-0/+5
|