aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gpgme/ChangeLog4
-rw-r--r--gpgme/engine.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index 5cb0b9d9..47eb3aa2 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-12 Marcus Brinkmann <[email protected]>
+
+ * engine.c (_gpgme_set_engine_info): Fix assertion.
+
2004-12-11 Marcus Brinkmann <[email protected]>
* util.h [HAVE_CONFIG_H && HAVE_TTYNAME_R] (ttyname_r): Define
diff --git a/gpgme/engine.c b/gpgme/engine.c
index abab84e1..b331e9a8 100644
--- a/gpgme/engine.c
+++ b/gpgme/engine.c
@@ -305,7 +305,7 @@ _gpgme_set_engine_info (gpgme_engine_info_t info, gpgme_protocol_t proto,
else
{
new_file_name = engine_get_file_name (proto);
- assert (file_name);
+ assert (new_file_name);
new_file_name = strdup (new_file_name);
}
if (!new_file_name)