mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
4d7ac43ff7
commit
2aa42baaf3
6 changed files with 164 additions and 7 deletions
|
@ -141,6 +141,7 @@ enum
|
|||
STATUS_PLAINTEXT_FOLLOWS, /* Used by g13-syshelp */
|
||||
|
||||
STATUS_ERROR,
|
||||
STATUS_WARNING,
|
||||
STATUS_SUCCESS,
|
||||
STATUS_FAILURE,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue