summaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2016-10-28 21:06:11 +0200
committerJustus Winter <justus@g10code.com>2016-11-02 12:53:58 +0100
commit68b59bbc42ba9ec69496758743924d54a95742f0 (patch)
tree95f7c6c246224aef77477049285a0ff6fd2b552d /agent
parentg10,w32: Fix build on Windows. (diff)
downloadgnupg2-68b59bbc42ba9ec69496758743924d54a95742f0.tar.xz
gnupg2-68b59bbc42ba9ec69496758743924d54a95742f0.zip
Spelling: correct spelling of "passphrase".
There were several different variant spellings of "passphrase". This should fix them all for all English text. I did notice that po/it.po contains multiple instances of "passhprase", which also looks suspect to me, but i do not know Italian, so i did not try to correct it. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'agent')
-rw-r--r--agent/agent.h2
-rw-r--r--agent/gpg-agent.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/agent/agent.h b/agent/agent.h
index a3ec45724..1d4038640 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -122,7 +122,7 @@ struct
/* If set, a passphrase history will be written and checked at each
passphrase change. */
- int enable_passhrase_history;
+ int enable_passphrase_history;
int running_detached; /* We are running detached from the tty. */
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 7294c690c..67ef321fc 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -789,7 +789,7 @@ parse_rereadable_options (ARGPARSE_ARGS *pargs, int reread)
opt.min_passphrase_nonalpha = MIN_PASSPHRASE_NONALPHA;
opt.check_passphrase_pattern = NULL;
opt.max_passphrase_days = MAX_PASSPHRASE_DAYS;
- opt.enable_passhrase_history = 0;
+ opt.enable_passphrase_history = 0;
opt.ignore_cache_for_signing = 0;
opt.allow_mark_trusted = 1;
opt.allow_external_cache = 1;
@@ -856,7 +856,7 @@ parse_rereadable_options (ARGPARSE_ARGS *pargs, int reread)
opt.max_passphrase_days = pargs->r.ret_ulong;
break;
case oEnablePassphraseHistory:
- opt.enable_passhrase_history = 1;
+ opt.enable_passphrase_history = 1;
break;
case oIgnoreCacheForSigning: opt.ignore_cache_for_signing = 1; break;