]> granicus.if.org Git - p11-kit/commitdiff
Fix typos flagged by codespell
authorDaiki Ueno <dueno@redhat.com>
Fri, 12 Aug 2016 15:21:19 +0000 (17:21 +0200)
committerStef Walter <stefw@redhat.com>
Mon, 22 Aug 2016 09:55:55 +0000 (11:55 +0200)
p11-kit/fixtures/test-system-none.conf
p11-kit/iter.c
p11-kit/modules.c
p11-kit/rpc-server.c
p11-kit/util.c
trust/builder.c
trust/p11-kit-trust.module
trust/parser.c

index 95351e605f7b7a562423b0a3b14f0bb1efd38e7b..2d43fa7f500e3853dcbbc6fc1e9ec243e5f274b3 100644 (file)
@@ -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
index 5301162b3c541abcdd9c07222c541c2ed7f4a85f..aeee8ad609871f4f31929b893528682d9ab256a8 100644 (file)
@@ -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.
  *
index c1094cea1354645ee3fe668dd4b1fb5320374553..f52c6e15afc7201fdb851892f2037a69f9bb0e84 100644 (file)
@@ -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
index a2562e9f0fe791206c37e20ed2c6c14eda7e22f3..6be75bdca82e79f8f80f38b7f1d764f8598f6727 100644 (file)
@@ -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);
index 112487634a1412bc32991c1052090498645c13c8..325d66904c3576c84a4b6e179015c1edb5d82a6d 100644 (file)
@@ -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.
  */
index 6e8a1e435bad38d25d9abca52b5111dc555fe7ce..e0ce37063d0138e3594ef65d3aee8be268077d27 100644 (file)
@@ -1288,7 +1288,7 @@ build_trust_object_eku (CK_ATTRIBUTE *object,
        else
                neutral = allow;
 
-       /* The value set if a purpose is explictly rejected */
+       /* The value set if a purpose is explicitly rejected */
        disallow = CKT_NSS_NOT_TRUSTED;
 
        for (i = 0; eku_attribute_map[i].type != CKA_INVALID; i++) {
index a55932ae5c902b22ebc8e4b97b12e83b980749e7..2f53ef6e0032754d9af2854052fb59e0c95ab729 100644 (file)
@@ -11,7 +11,7 @@ priority: 1
 # Mark this module as a viable source of trust policy information
 trust-policy: yes
 
-# This is for drop-in compatibilty with glib-networking and gcr. Those
+# This is for drop-in compatibility with glib-networking and gcr. Those
 # projects used this non-standard attribute to denote slots to use to
 # retrieve trust information.
 x-trust-lookup: pkcs11:library-description=PKCS%2311%20Kit%20Trust%20Module
index 7b569d91641337c01c329d48904adaccd045741e..41513d4f435b8480dde9ca244132d09dcdfd02b0 100644 (file)
@@ -502,7 +502,7 @@ parse_openssl_trusted_certificate (p11_parser *parser,
        int ret;
 
        /*
-        * This OpenSSL format is a wierd. It's just two DER structures
+        * This OpenSSL format is weird. It's just two DER structures
         * placed end to end without any wrapping SEQ. So calculate the
         * length of the first DER TLV we see and try to parse that as
         * the X.509 certificate.