diff options
author | NIIBE Yutaka <[email protected]> | 2017-04-28 01:06:33 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-04-28 01:06:33 +0000 |
commit | 5c8fe5480964c282540c051b538e812851988422 (patch) | |
tree | 61da9fb34cfb67875bea2dc259741c0e9b8ca78f /g10/trustdb.c | |
parent | g10: For signing, prefer available card key when no -u option. (diff) | |
download | gnupg-5c8fe5480964c282540c051b538e812851988422.tar.gz gnupg-5c8fe5480964c282540c051b538e812851988422.zip |
Spelling fixes in docs and comments.
--
In addition, fix trailing spaces in tests/inittests.
GnuPG-bug-id: 3121
Reported-by: ka7 (klemens)
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/trustdb.c')
-rw-r--r-- | g10/trustdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c index f8a0bc9b3..e2c3bdaa9 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -1512,7 +1512,7 @@ sanitize_regexp(const char *old) /* There are basically two commonly-used regexps here. GPG and most versions of PGP use "<[^>]+[@.]example\.com>$" and PGP (9) - command line uses "example.com" (i.e. whatever the user specfies, + command line uses "example.com" (i.e. whatever the user specifies, and we can't expect users know to use "\." instead of "."). So here are the rules: we're allowed to start with "<[^>]+[@.]" and end with ">$" or start and end with nothing. In between, the |