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 <justus@g10code.com>
This commit is contained in:
parent
2ff58fcbd5
commit
b9e6eacd06
@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user