summaryrefslogtreecommitdiff
path: root/common
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 /common
parent4ee6545d0188e495f195b7fe5abbe9cc382a626d (diff)
build: Fix typo spotted by codespell
Diffstat (limited to 'common')
-rw-r--r--common/pkcs11.h2
-rw-r--r--common/test-lexer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/pkcs11.h b/common/pkcs11.h
index 521c58d..3e36837 100644
--- a/common/pkcs11.h
+++ b/common/pkcs11.h
@@ -859,7 +859,7 @@ typedef unsigned long ck_mechanism_type_t;
#define CKM_VENDOR_DEFINED ((unsigned long) (1UL << 31))
-/* Ammendments */
+/* Amendments */
#define CKM_SHA224 (0x255UL)
#define CKM_SHA224_HMAC (0x256UL)
#define CKM_SHA224_HMAC_GENERAL (0x257UL)
diff --git a/common/test-lexer.c b/common/test-lexer.c
index 7d18e87..e4480fd 100644
--- a/common/test-lexer.c
+++ b/common/test-lexer.c
@@ -96,7 +96,7 @@ check_lex_msg (const char *file,
}
break;
case TOK_EOF:
- p11_test_fail (file, line, function, "eof should not be recieved");
+ p11_test_fail (file, line, function, "eof should not be received");
break;
}
}