From b9e6eacd06ffeb36854c208aa4325cff3e3dfbbe Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 28 Jul 2016 17:45:53 +0200 Subject: [PATCH] src: Fix dummy engine versions. Previously, 'gpgme_engine_check_version' failed for these protocols because the version parser failed to parse the dummy versions. * src/engine-assuan.c (llass_get_version): Use a version triple that the parser can understand. (llass_get_req_version): Likewise. * src/engine-spawn.c (engspawn_get_version): Likewise. (engspawn_get_req_version): Likewise. * src/engine-uiserver.c (uiserver_get_version): Likewise. (uiserver_get_req_version): Likewise. Signed-off-by: Justus Winter --- src/engine-assuan.c | 4 ++-- src/engine-spawn.c | 4 ++-- src/engine-uiserver.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/engine-assuan.c b/src/engine-assuan.c index 6f58e086..93d54d2d 100644 --- a/src/engine-assuan.c +++ b/src/engine-assuan.c @@ -131,14 +131,14 @@ llass_get_home_dir (void) static char * llass_get_version (const char *file_name) { - return strdup ("1.0"); + return strdup ("1.0.0"); } static const char * llass_get_req_version (void) { - return "1.0"; + return "1.0.0"; } diff --git a/src/engine-spawn.c b/src/engine-spawn.c index b552388e..c01b50e2 100644 --- a/src/engine-spawn.c +++ b/src/engine-spawn.c @@ -312,14 +312,14 @@ static char * engspawn_get_version (const char *file_name) { (void)file_name; - return strdup ("1.0"); + return strdup ("1.0.0"); } static const char * engspawn_get_req_version (void) { - return "1.0"; + return "1.0.0"; } diff --git a/src/engine-uiserver.c b/src/engine-uiserver.c index 986f1d1d..1869ff3f 100644 --- a/src/engine-uiserver.c +++ b/src/engine-uiserver.c @@ -123,14 +123,14 @@ static void uiserver_io_event (void *engine, static char * uiserver_get_version (const char *file_name) { - return strdup ("1.0"); + return strdup ("1.0.0"); } static const char * uiserver_get_req_version (void) { - return "1.0"; + return "1.0.0"; }