2006-11-29 Marcus Brinkmann <marcus@g10code.de>

* engine-gpgsm.c (gpgsm_new): Check return value of
	assuan_pipe_connect.
This commit is contained in:
Marcus Brinkmann 2006-11-29 19:21:18 +00:00
parent aa1c0a545d
commit 0bd5dd4b24
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2006-11-29 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (gpgsm_new): Check return value of
assuan_pipe_connect.
* rungpg.c: Include <unistd.h>.
(gpg_new): Support --display, --ttyname, --ttytype, --lc-ctype and
--lc-messages. Fixes issue 734.

View File

@ -406,7 +406,8 @@ gpgsm_new (void **engine, const char *file_name, const char *home_dir,
err = assuan_pipe_connect (&gpgsm->assuan_ctx,
file_name ? file_name : _gpgme_get_gpgsm_path (),
argv, child_fds);
/* FIXME: Check error. */
if (err)
goto leave;
/* We need to know the fd used by assuan for reads. We do this by
using the assumption that the first returned fd from

View File

@ -72,7 +72,7 @@ extern "C" {
AM_PATH_GPGME macro) check that this header matches the installed
library. Warning: Do not edit the next line. configure will do
that for you! */
#define GPGME_VERSION "1.1.3-cvs1179"
#define GPGME_VERSION "1.1.3-cvs1188"