dirmngr: Refactor 'map_host'.
authorJustus Winter <justus@g10code.com>
Thu, 19 Nov 2015 12:00:59 +0000 (13:00 +0100)
committerJustus Winter <justus@g10code.com>
Mon, 23 Nov 2015 13:00:47 +0000 (14:00 +0100)
commit3f52f6bcacfe3877d30a21464e93e9240bc75085
tree465ed8ed29c65ef143534aa91857a919e45a72fa
parent23ea641ba2a063cc99c82869061703d48bc674b2
dirmngr: Refactor 'map_host'.

* dirmngr/ks-engine-hkp.c (add_host): New function.
(map_host): Use the new function.

Signed-off-by: Justus Winter <justus@g10code.com>
dirmngr/ks-engine-hkp.c