summaryrefslogtreecommitdiff
path: root/p11-kit
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 /p11-kit
parent4ee6545d0188e495f195b7fe5abbe9cc382a626d (diff)
build: Fix typo spotted by codespell
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/iter.c2
-rw-r--r--p11-kit/modules.c2
-rw-r--r--p11-kit/rpc-message.c6
-rw-r--r--p11-kit/rpc-server.c4
-rw-r--r--p11-kit/test-pin.c2
-rw-r--r--p11-kit/test-virtual.c2
6 files changed, 9 insertions, 9 deletions
diff --git a/p11-kit/iter.c b/p11-kit/iter.c
index d1ffd91..d26cd71 100644
--- a/p11-kit/iter.c
+++ b/p11-kit/iter.c
@@ -830,7 +830,7 @@ p11_kit_iter_get_token (P11KitIter *iter)
* p11_kit_iter_get_session:
* @iter: the iterator
*
- * Get the session which the current matching object is acessible
+ * Get the session which the current matching object is accessible
* through.
*
* This can only be called after p11_kit_iter_next() succeeds.
diff --git a/p11-kit/modules.c b/p11-kit/modules.c
index 4604e6e..cfc4daf 100644
--- a/p11-kit/modules.c
+++ b/p11-kit/modules.c
@@ -593,7 +593,7 @@ take_config_and_load_module_inlock (char **name,
*/
mod->init_args.pReserved = p11_dict_get (*config, "x-init-reserved");
- /* Take ownership of thes evariables */
+ /* Take ownership of these variables */
p11_dict_free (mod->config);
mod->config = *config;
*config = NULL;
diff --git a/p11-kit/rpc-message.c b/p11-kit/rpc-message.c
index bccfd2a..ff48f1d 100644
--- a/p11-kit/rpc-message.c
+++ b/p11-kit/rpc-message.c
@@ -235,7 +235,7 @@ p11_rpc_message_write_attribute_buffer (p11_rpc_message *msg,
assert (msg != NULL);
assert (msg->output != NULL);
- /* Make sure this is in the rigth order */
+ /* Make sure this is in the right order */
assert (!msg->signature || p11_rpc_message_verify_part (msg, "fA"));
/* Write the number of items */
@@ -265,7 +265,7 @@ p11_rpc_message_write_attribute_array (p11_rpc_message *msg,
assert (msg != NULL);
assert (msg->output != NULL);
- /* Make sure this is in the rigth order */
+ /* Make sure this is in the right order */
assert (!msg->signature || p11_rpc_message_verify_part (msg, "aA"));
/* Write the number of items */
@@ -328,7 +328,7 @@ p11_rpc_message_write_ulong (p11_rpc_message *msg,
assert (msg != NULL);
assert (msg->output != NULL);
- /* Make sure this is in the rigth order */
+ /* Make sure this is in the right order */
assert (!msg->signature || p11_rpc_message_verify_part (msg, "u"));
p11_rpc_buffer_add_uint64 (msg->output, val);
return !p11_buffer_failed (msg->output);
diff --git a/p11-kit/rpc-server.c b/p11-kit/rpc-server.c
index 3216742..846ee94 100644
--- a/p11-kit/rpc-server.c
+++ b/p11-kit/rpc-server.c
@@ -238,7 +238,7 @@ proto_read_attribute_buffer (p11_rpc_message *msg,
assert (n_result != NULL);
assert (msg->input != NULL);
- /* Make sure this is in the rigth order */
+ /* Make sure this is in the right order */
assert (!msg->signature || p11_rpc_message_verify_part (msg, "fA"));
/* Read the number of attributes */
@@ -292,7 +292,7 @@ proto_read_attribute_array (p11_rpc_message *msg,
assert (n_result != NULL);
assert (msg->input != NULL);
- /* Make sure this is in the rigth order */
+ /* Make sure this is in the right order */
assert (!msg->signature || p11_rpc_message_verify_part (msg, "aA"));
/* Read the number of attributes */
diff --git a/p11-kit/test-pin.c b/p11-kit/test-pin.c
index 27e20c8..a63bb45 100644
--- a/p11-kit/test-pin.c
+++ b/p11-kit/test-pin.c
@@ -243,7 +243,7 @@ test_pin_file (void)
assert (memcmp (ptr, "yogabbagabba", length) == 0);
p11_kit_pin_unref (pin);
- pin = p11_kit_pin_request (SRCDIR "/p11-kit/fixtures/nonexistant", uri, "The token",
+ pin = p11_kit_pin_request (SRCDIR "/p11-kit/fixtures/nonexistent", uri, "The token",
P11_KIT_PIN_FLAGS_USER_LOGIN);
assert_ptr_eq (NULL, pin);
diff --git a/p11-kit/test-virtual.c b/p11-kit/test-virtual.c
index fd9eba9..2b83720 100644
--- a/p11-kit/test-virtual.c
+++ b/p11-kit/test-virtual.c
@@ -124,7 +124,7 @@ test_fall_through (void)
rv = (module->C_Initialize) ("initialize-arg");
assert_num_eq (CKR_NEED_TO_CREATE_THREADS, rv);
- /* All other functiosn should have just fallen through */
+ /* All other functions should have just fallen through */
assert_ptr_eq (mock_module_no_slots.C_Finalize, module->C_Finalize);
p11_virtual_unwrap (module);