Skip to content

Commit

Permalink
Merge pull request #148 from wiktor-k/fix-codespell
Browse files Browse the repository at this point in the history
Fix codespell action
  • Loading branch information
wiktor-k authored Jun 12, 2023
2 parents 7e3f354 + 37be6a2 commit e0ec792
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = .git,target,Cargo.lock
ignore-words-list = crate,keypair
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@ on: [push, pull_request]

jobs:
# Use the following command to fix words locally:
# codespell --ignore-words-list "crate" --skip "*/target,*-sys" --write-changes
# codespell --write-changes
check-spelling:
name: Check spelling
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check spelling
uses: codespell-project/actions-codespell@master
with:
ignore_words_list: "crate"
path: cryptoki
skip: "*/target,*-sys"
uses: codespell-project/actions-codespell@v1

formatting:
name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion cryptoki-sys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is the low-level wrapper crate for PKCS #11 exposing the bindgen types.

## Generating bindings

The FFI bindings presented by this crate can be either those commited in the
The FFI bindings presented by this crate can be either those committed in the
crate under `src/bindings` or generated on the fly from the `pkcs11.h` file
at build time. For generating the bindings at build time
please enable the `generate-bindings` feature, as it is not enabled by default.
Expand Down
2 changes: 1 addition & 1 deletion cryptoki-sys/pkcs11.h
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,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)
Expand Down

0 comments on commit e0ec792

Please sign in to comment.