[svn] gpgme - r1190 - trunk/gpgme
svn author marcus
cvs at cvs.gnupg.org
Wed Nov 29 20:21:18 CET 2006
Author: marcus
Date: 2006-11-29 20:21:18 +0100 (Wed, 29 Nov 2006)
New Revision: 1190
Modified:
trunk/gpgme/ChangeLog
trunk/gpgme/engine-gpgsm.c
trunk/gpgme/gpgme.h
Log:
2006-11-29 Marcus Brinkmann <marcus at g10code.de>
* engine-gpgsm.c (gpgsm_new): Check return value of
assuan_pipe_connect.
Modified: trunk/gpgme/ChangeLog
===================================================================
--- trunk/gpgme/ChangeLog 2006-11-29 16:25:46 UTC (rev 1189)
+++ trunk/gpgme/ChangeLog 2006-11-29 19:21:18 UTC (rev 1190)
@@ -1,5 +1,8 @@
2006-11-29 Marcus Brinkmann <marcus at 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.
Modified: trunk/gpgme/engine-gpgsm.c
===================================================================
--- trunk/gpgme/engine-gpgsm.c 2006-11-29 16:25:46 UTC (rev 1189)
+++ trunk/gpgme/engine-gpgsm.c 2006-11-29 19:21:18 UTC (rev 1190)
@@ -406,7 +406,8 @@
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
Modified: trunk/gpgme/gpgme.h
===================================================================
--- trunk/gpgme/gpgme.h 2006-11-29 16:25:46 UTC (rev 1189)
+++ trunk/gpgme/gpgme.h 2006-11-29 19:21:18 UTC (rev 1190)
@@ -72,7 +72,7 @@
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"
More information about the Gnupg-commits
mailing list