Diffusion GnuPG 68a7ccc0c870

dirmngr: Only report hkps scheme when available

Authored by kristianf on Nov 25 2014, 7:24 PM.

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

Committed
wernerNov 26 2014, 10:25 AM
Parents
rG1c2140346d6e: gpg: Change a bug() call to a regular error message.
Branches
Unknown
Tags
Unknown
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