Fixed some typos, courtesy of codespell

This commit is contained in:
Tobias Brunner 2015-08-27 12:06:31 +02:00
parent c605a96d7f
commit 7a1fed284c
3 changed files with 3 additions and 3 deletions

View 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)
{

View 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

View 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,