diff options
author | Werner Koch <[email protected]> | 2016-01-08 09:33:19 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-01-08 09:33:19 +0000 |
commit | 2aa42baaf3dd7c3ae613ae0c61760a17c8adfcd0 (patch) | |
tree | 999020286b5be3264f6803aabb486e081482a69e /common/status.h | |
parent | common: New function compare_version_strings. (diff) | |
download | gnupg-2aa42baaf3dd7c3ae613ae0c61760a17c8adfcd0.tar.gz gnupg-2aa42baaf3dd7c3ae613ae0c61760a17c8adfcd0.zip |
Print warnings if old daemon versions are used.
* common/status.h (STATUS_WARNING): New.
* g10/call-agent.c (warn_version_mismatch): New.
(start_agent): Call warn function.
* g10/call-dirmngr.c: Include status.h.
(warn_version_mismatch): New.
(create_context): Call warn function.
* sm/call-agent.c (warn_version_mismatch): New.
(start_agent): Call warn function.
(gpgsm_agent_learn): Call warn function.
* sm/call-dirmngr.c (warn_version_mismatch): New.
(prepare_dirmngr): Call warn function.
--
We have seen too often bug reports which are due to still running old
versions of the daemons. To catch this problematic use we now print
warning messages and also provide the warning via the status
interface.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/status.h')
-rw-r--r-- | common/status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/status.h b/common/status.h index 509e04439..e50827fe0 100644 --- a/common/status.h +++ b/common/status.h @@ -141,6 +141,7 @@ enum STATUS_PLAINTEXT_FOLLOWS, /* Used by g13-syshelp */ STATUS_ERROR, + STATUS_WARNING, STATUS_SUCCESS, STATUS_FAILURE, |