Home GnuPG
Diffusion GnuPG 68a7ccc0c870

dirmngr: Only report hkps scheme when available
68a7ccc0c870Unpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Only report hkps scheme when available

* dirmngr/ks-engine-hkp.c (ks_hkp_help): Make use of TLS macros.

Only report support for the hkps scheme when GnuPG / dirmngr
has been built with a TLS library.

This helps debuging and enable the user to detect whether support
for hkps is included by doing a
gpg-connect-agent --dirmngr 'keyserver --help' /bye.
Currently hkps will be listed as a supported scheme but trying to
add a keyserver using it will silently fail.

As a digression, https is never listed as a valid scheme.

Details

Provenance
kristianfAuthored on Nov 25 2014, 7:24 PM
wernerCommitted on Nov 26 2014, 10:25 AM
Parents
rG1c2140346d6e: gpg: Change a bug() call to a regular error message.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG68a7ccc0c870: dirmngr: Only report hkps scheme when available (authored by Kristian Fiskerstrand <kf@sumptuouscapital.com>).Nov 26 2014, 10:25 AM