summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2016-08-12 17:21:19 +0200
committerStef Walter <stefw@redhat.com>2016-08-22 11:55:55 +0200
commit8c8c81942038e0068472dd9bab8d57c00b2acee4 (patch)
treeb508003b628ac3bf2c7ee0352f4fe01afb608185 /p11-kit
parentfb73b3a908d8fa21b0e7f6461fc9e77c1e15f4b3 (diff)
Fix typos flagged by codespell
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/fixtures/test-system-none.conf2
-rw-r--r--p11-kit/iter.c8
-rw-r--r--p11-kit/modules.c4
-rw-r--r--p11-kit/rpc-server.c2
-rw-r--r--p11-kit/util.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/p11-kit/fixtures/test-system-none.conf b/p11-kit/fixtures/test-system-none.conf
index 95351e6..2d43fa7 100644
--- a/p11-kit/fixtures/test-system-none.conf
+++ b/p11-kit/fixtures/test-system-none.conf
@@ -2,7 +2,7 @@
# Only user config
user-config: none
-# These values will not be overriden
+# These values will not be overridden
key1: system1
key2: system2
key3: system3 \ No newline at end of file
diff --git a/p11-kit/iter.c b/p11-kit/iter.c
index 5301162..aeee8ad 100644
--- a/p11-kit/iter.c
+++ b/p11-kit/iter.c
@@ -103,7 +103,7 @@ struct p11_kit_iter {
* @P11_KIT_ITER_WANT_WRITABLE: Try to open read-write sessions when
* iterating over obojects.
*
- * Various flags controling the behavior of the iterator.
+ * Various flags controlling the behavior of the iterator.
*/
/**
@@ -680,7 +680,7 @@ p11_kit_iter_get_slot (P11KitIter *iter)
*
* Get the token info for the token which the current matching object is on.
*
- * This can only be called after p11_kit_iter_next(0 succeeds.
+ * This can only be called after p11_kit_iter_next() succeeds.
*
* Returns: the slot of the current matching object.
*/
@@ -732,9 +732,9 @@ p11_kit_iter_get_object (P11KitIter *iter)
/**
* p11_kit_iter_destroy_object:
- * @iter: teh iterator
+ * @iter: the iterator
*
- * Destory the current matching object.
+ * Destroy the current matching object.
*
* This can only be called after p11_kit_iter_next() succeeds.
*
diff --git a/p11-kit/modules.c b/p11-kit/modules.c
index c1094ce..f52c6e1 100644
--- a/p11-kit/modules.c
+++ b/p11-kit/modules.c
@@ -745,7 +745,7 @@ finalize_module_inlock_reentrant (Module *mod)
return CKR_OK;
/*
- * Becuase of the mutex unlock below, we temporarily increase
+ * Because of the mutex unlock below, we temporarily increase
* the ref count. This prevents module from being freed out
* from ounder us.
*/
@@ -1951,7 +1951,7 @@ p11_modules_load_inlock_reentrant (int flags,
* If @flags contains the %P11_KIT_MODULE_CRITICAL flag then the
* modules will all be treated as 'critical', regardless of the module
* configuration. This means that a failure to load any module will
- * cause this funtion to fail.
+ * cause this function to fail.
*
* For unmanaged modules there is no guarantee to the state of the
* modules. Other callers may be using the modules. Using unmanaged
diff --git a/p11-kit/rpc-server.c b/p11-kit/rpc-server.c
index a2562e9..6be75bd 100644
--- a/p11-kit/rpc-server.c
+++ b/p11-kit/rpc-server.c
@@ -862,7 +862,7 @@ rpc_C_CloseAllSessions (CK_X_FUNCTION_LIST *self,
{
CK_SLOT_ID slot_id;
- /* Slot id becomes appartment so lower layers can tell clients apart. */
+ /* Slot id becomes apartment so lower layers can tell clients apart. */
BEGIN_CALL (CloseAllSessions);
IN_ULONG (slot_id);
diff --git a/p11-kit/util.c b/p11-kit/util.c
index 1124876..325d669 100644
--- a/p11-kit/util.c
+++ b/p11-kit/util.c
@@ -57,7 +57,7 @@
* @title: Future
* @short_description: Future Unstable API
*
- * API that is not yet stable enough to be enabled by default. In all likelyhood
+ * API that is not yet stable enough to be enabled by default. In all likelihood
* this will be included in the next release. To use this API you must define a
* MACRO. See the p11-kit.h header for more details.
*/