gpg: Fix regression since 2.1 in --search-key with a fingerprint.
authorWerner Koch <wk@gnupg.org>
Thu, 14 Jul 2016 12:00:37 +0000 (14:00 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 14 Jul 2016 12:00:37 +0000 (14:00 +0200)
commit0342369ce001b9dba04dc79e7a4eb66fbda278e7
tree91991f6ce7a1e9283fd1187599f40a09daefaa1a
parentfb14bf0a95e361b0991067e3aea2902d54be811d
gpg: Fix regression since 2.1 in --search-key with a fingerprint.

* dirmngr/ks-engine-hkp.c (ks_hkp_search): Prefix fingerprint with 0x.
--

pre-2.1 made sure that the 0x prefix was put before the fingerprint so
that the search command works.  Actually --recv-key should be used
with a fingerprint but some users are using --search-key, probably to
use the interactive mode.

GnuPG-bug-id: 2412
Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/ks-engine-hkp.c