]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Fixed some typos, courtesy of codespell
authorTobias Brunner <tobias@strongswan.org>
Thu, 27 Aug 2015 10:06:31 +0000 (12:06 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 27 Aug 2015 10:06:31 +0000 (12:06 +0200)
src/libstrongswan/asn1/asn1.c
src/libstrongswan/plugins/des/des_crypter.c
src/libstrongswan/tests/suites/test_chunk.c

index 37b89c61bdbfd28ffed025e4cb9617da36d0b7be..628bb99e6e86f1000a34e6b434a66fea98edc5c9 100644 (file)
@@ -340,7 +340,7 @@ static const int days[] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 33
 static const int tm_leap_1970 = 477;
 
 /**
- * Converts ASN.1 UTCTIME or GENERALIZEDTIME into calender time
+ * Converts ASN.1 UTCTIME or GENERALIZEDTIME into calendar time
  */
 time_t asn1_to_time(const chunk_t *utctime, asn1_t type)
 {
index c81318b19cd8bbe1daab33e8611f04c946b96f56..6010f9d8b4b5ccbe87eab89be9bca9077ed9c736 100644 (file)
@@ -112,7 +112,7 @@ struct private_des_crypter_t {
 #endif
 
 /* This helps C compiler generate the correct code for multiple functional
- * units.  It reduces register dependancies at the expense of 2 more
+ * units.  It reduces register dependencies at the expense of 2 more
  * registers */
 #ifndef DES_RISC1
 #define DES_RISC1
index 312a187ac454242bc07ac8be296827348516239f..6272ca79565836fd6d35e158b33621e72ee9734b 100644 (file)
@@ -1020,7 +1020,7 @@ START_TEST(test_printf_hook)
        int len;
 
        /* %B should be the same as %b, which is what we check, comparing the
-        * acutal result could be tricky as %b prints the chunk's memory address */
+        * actual result could be tricky as %b prints the chunk's memory address */
        len = snprintf(buf, sizeof(buf), "%B", &printf_hook_data[_i].in);
        ck_assert(len >= 0 && len < sizeof(buf));
        len = snprintf(mem, sizeof(mem), "%b", printf_hook_data[_i].in.ptr,