diff options
author | Werner Koch <[email protected]> | 2015-09-09 13:14:20 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-09-09 13:14:35 +0000 |
commit | 56bf1061f86326b814e878f925cbf144e837fd66 (patch) | |
tree | 79d0702fe669e40875b4a2d58a13acb8a7f308ba /g10/getkey.c | |
parent | scd: Force key attribute change for writekey. (diff) | |
download | gnupg-56bf1061f86326b814e878f925cbf144e837fd66.tar.gz gnupg-56bf1061f86326b814e878f925cbf144e837fd66.zip |
doc: Minor comment fixes.
--
Diffstat (limited to '')
-rw-r--r-- | g10/getkey.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/g10/getkey.c b/g10/getkey.c index 7aeaebc3f..028b04994 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -2602,7 +2602,7 @@ lookup (getkey_ctx_t ctx, kbnode_t *ret_keyblock, int want_secret) goto skip; /* No secret key available. */ /* Warning: node flag bits 0 and 1 should be preserved by - * merge_selfsigs. For secret keys, premerge did tranfer the + * merge_selfsigs. For secret keys, premerge transferred the * keys to the keyblock. */ merge_selfsigs (ctx->keyblock); if (finish_lookup (ctx)) @@ -2617,10 +2617,11 @@ lookup (getkey_ctx_t ctx, kbnode_t *ret_keyblock, int want_secret) /* Release resources and continue search. */ release_kbnode (ctx->keyblock); ctx->keyblock = NULL; - /* We need to disable the caching so that for an exact key search we - won't get the result back from the cache and thus end up in an - endless loop. Disabling this here is sufficient because although - the result may have been cached, if won't be used then. */ + /* We need to disable the caching so that for an exact key + search we won't get the result back from the cache and thus + end up in an endless loop. Disabling the cache here at this + point is sufficient because even a cached result won't be + used after a call to keydb_disable_caching. */ keydb_disable_caching (ctx->kr_handle); } |