dirmngr: Allow command VERSIONCHECK to handle 3 part version numbers.
authorWerner Koch <wk@gnupg.org>
Tue, 25 Oct 2016 07:38:01 +0000 (09:38 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 25 Oct 2016 07:38:01 +0000 (09:38 +0200)
commitb120f358c25cc846ca9d841d47e71ca1a7fe02e4
treea732fffe192951283cfd428c9f57f92632bbd48d
parent7983f8758703071710c11bf2a255efcd71836b65
dirmngr: Allow command VERSIONCHECK to handle 3 part version numbers.

* dirmngr/server.c (parse_version_string): Add arg MICRO and set it.
(cmp_version): Extend to handle the MICRO part.
(confucius_mktmpdir): Rename to my_mktmpdir.
(my_mktmpdir): xstrconcat does not fail; use strconcat.
(fetch_into_tmpdir): Improve error checking.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/server.c