summaryrefslogtreecommitdiff
path: root/trust
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-12-29 08:09:50 +0100
committerDaiki Ueno <dueno@redhat.com>2018-12-29 08:09:50 +0100
commit95faa51a23fc416e718dbd740adfce31f642530b (patch)
treea83fd0465c5449041641fcd8ba23af3fc7c1653d /trust
parent4ee6545d0188e495f195b7fe5abbe9cc382a626d (diff)
build: Fix typo spotted by codespell
Diffstat (limited to 'trust')
-rw-r--r--trust/test-enumerate.c2
-rw-r--r--trust/test-parser.c2
-rw-r--r--trust/test-token.c4
-rwxr-xr-xtrust/trust-extract-compat.in2
4 files changed, 5 insertions, 5 deletions
diff --git a/trust/test-enumerate.c b/trust/test-enumerate.c
index 0ac3a33..d82863f 100644
--- a/trust/test-enumerate.c
+++ b/trust/test-enumerate.c
@@ -293,7 +293,7 @@ test_info_limit_purposes (void)
mock_module_add_object (MOCK_SLOT_ONE_ID, cacert3_trusted);
mock_module_add_object (MOCK_SLOT_ONE_ID, extension_eku_server_client);
- /* This should not match the above, with the attached certificat ext */
+ /* This should not match the above, with the attached certificate ext */
assert_ptr_eq (NULL, test.ex.limit_to_purposes);
p11_enumerate_opt_purpose (&test.ex, "1.1.1");
assert_ptr_not_null (test.ex.limit_to_purposes);
diff --git a/trust/test-parser.c b/trust/test-parser.c
index b5c2525..8b9c240 100644
--- a/trust/test-parser.c
+++ b/trust/test-parser.c
@@ -503,7 +503,7 @@ test_parse_invalid_file (void)
p11_message_quiet ();
p11_parser_formats (test.parser, p11_parser_format_x509, NULL);
- ret = p11_parse_file (test.parser, "/nonexistant", NULL,
+ ret = p11_parse_file (test.parser, "/nonexistent", NULL,
P11_PARSE_FLAG_NONE);
assert_num_eq (P11_PARSE_FAILURE, ret);
diff --git a/trust/test-token.c b/trust/test-token.c
index b2f2323..a082ab7 100644
--- a/trust/test-token.c
+++ b/trust/test-token.c
@@ -129,7 +129,7 @@ test_token_flags (void *path)
/*
* blacklist2 comes from the input/blacklist/self-server.der file. It is
- * explicitly put on the blacklist, even though it containts no trust
+ * explicitly put on the blacklist, even though it contains no trust
* policy information.
*/
@@ -151,7 +151,7 @@ test_token_flags (void *path)
/*
* anchor comes from the input/anchors/cacert3.der file. It is
- * explicitly marked as an anchor, even though it containts no trust
+ * explicitly marked as an anchor, even though it contains no trust
* policy information.
*/
diff --git a/trust/trust-extract-compat.in b/trust/trust-extract-compat.in
index 9b46055..b1b7a08 100755
--- a/trust/trust-extract-compat.in
+++ b/trust/trust-extract-compat.in
@@ -4,7 +4,7 @@
# has been customized for distribution. It should be symlinked linked to the
# distribution's update-ca-certificates or update-ca-trust command as
# appropriate. In the future this script will be called when the PKCS#11
-# trust module is used to modifiy trust anchors and related data.
+# trust module is used to modify trust anchors and related data.
if [ $# -ne 0 ]; then
echo "usage: trust extract-compat" >&2