diff options
author | Werner Koch <wk@gnupg.org> | 2015-04-08 15:58:16 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-04-08 16:19:56 +0200 |
commit | 6619ead2cfd2abcb95b66dc70622fdeef624fb8a (patch) | |
tree | 97983f76d951b4edf32f9afc2119a1e87301b7a7 /sm/call-dirmngr.c | |
parent | gpg: Print the user id in --fast-list-mode. (diff) | |
download | gnupg2-6619ead2cfd2abcb95b66dc70622fdeef624fb8a.tar.xz gnupg2-6619ead2cfd2abcb95b66dc70622fdeef624fb8a.zip |
sm: Fix certificate lookup in dirmngr cache.
* sm/call-dirmngr.c (get_cached_cert): Fix typo in LOOKUP command.
--
This bug has been here since the code was written. The commit message
for commit 2d0ca28a226773b9779a93c39bba9bace13232fe actually had the
warning that the code has not been tested. Now the funny thing is
that when the code was backported to the 2.0 branch just a few minutes
later that typo was fixed en passant in that branch.
Diffstat (limited to '')
-rw-r--r-- | sm/call-dirmngr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c index 560ea7208..8e4841bf9 100644 --- a/sm/call-dirmngr.c +++ b/sm/call-dirmngr.c @@ -823,7 +823,7 @@ get_cached_cert (assuan_context_t ctx, *r_cert = NULL; bin2hex (fpr, 20, hexfpr); - snprintf (line, DIM(line)-1, "LOOKUP --signle --cache-only 0x%s", hexfpr); + snprintf (line, DIM(line)-1, "LOOKUP --single --cache-only 0x%s", hexfpr); init_membuf (&mb, 4096); err = assuan_transact (ctx, line, get_cached_cert_data_cb, &mb, |