Home GnuPG
Diffusion GnuPG b72ece6d74d3

dirmngr: Return a proper error for all dead hosts.
b72ece6d74d3Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Return a proper error for all dead hosts.

* dirmngr/ks-engine-hkp.c (map_host): Change to return an gpg_error_t.
Return an error code for all dead hosts.
(make_host_part): Change to return an gpg_error_t.  Change all
callers.

The functions used to return an error code via ERRNO. However, this
does not allow to return extra error codes in a portable way. Thus we
change the function to directly return a gpg_error_t.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 8 2014, 11:13 AM
Parents
rG66ab8f807c96: gpg: Write a status line for a failed --send-keys.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGb72ece6d74d3: dirmngr: Return a proper error for all dead hosts. (authored by Werner Koch <wk@gnupg.org>).Dec 8 2014, 11:15 AM