diff options
author | Werner Koch <[email protected]> | 2015-05-08 06:55:57 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-05-08 06:55:57 +0000 |
commit | d95beb85dfa413a9f61c7026607574e9bf608ab0 (patch) | |
tree | 3d2205429b85c14085f75b4abb4bb298d47030f0 | |
parent | agent: Minor change for 56b5c9f. (diff) | |
download | gnupg-d95beb85dfa413a9f61c7026607574e9bf608ab0.tar.gz gnupg-d95beb85dfa413a9f61c7026607574e9bf608ab0.zip |
Typo fixes
--
-rw-r--r-- | agent/findkey.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/agent/findkey.c b/agent/findkey.c index 80771c5bb..699291dfc 100644 --- a/agent/findkey.c +++ b/agent/findkey.c @@ -47,7 +47,7 @@ struct try_unprotect_arg_s const unsigned char *protected_key; unsigned char *unprotected_key; int change_required; /* Set by the callback to indicate that the - user should chnage the passphrase. */ + user should change the passphrase. */ }; @@ -469,6 +469,8 @@ unprotect (ctrl_t ctrl, const char *cache_nonce, const char *desc_text, assert (arg.unprotected_key); if (arg.change_required) { + /* The callback told as that the user should change their + passphrase. Present the dialog to do. */ size_t canlen, erroff; gcry_sexp_t s_skey; @@ -499,6 +501,7 @@ unprotect (ctrl_t ctrl, const char *cache_nonce, const char *desc_text, } else { + /* Passphrase is fine. */ agent_put_cache (hexgrip, cache_mode, pi->pin, lookup_ttl? lookup_ttl (hexgrip) : 0); agent_store_cache_hit (hexgrip); |