Skip to content

Commit

Permalink
Fix random spelling errors
Browse files Browse the repository at this point in the history
The new codespell in CI decided to find old mispellings...

Signed-off-by: Simo Sorce <[email protected]>
  • Loading branch information
simo5 committed Sep 5, 2024
1 parent 87827fc commit 0c69ac1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
identity and expression, level of experience, education, socioeconomic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ By participating, you are expected to abide by the code.

## What should I know before I get started?

If you want to contirbute code you need to understand the [PKCS#11](https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=pkcs11) Specifications and the OpneSSL 3.0 provider APIs.
If you want to contribute code you need to understand the [PKCS#11](https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=pkcs11) Specifications and the OpenSSL 3.0 provider APIs.
Useful links to learn about these are:
- [PKCS#11 2.4 Base Specification](https://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/pkcs11-base-v2.40.html)
- [PKCS#11 3.1 Spec](https://docs.oasis-open.org/pkcs11/pkcs11-spec/v3.1/csd01/pkcs11-spec-v3.1-csd01.html)
Expand Down
12 changes: 6 additions & 6 deletions src/keymgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1252,8 +1252,8 @@ static void *p11prov_ec_gen_init(void *provctx, int selection,
}

/* we need to allow to initialize a generation of just domain parameters,
* as this is used by OpenSSL for ECDH, to set the expected paramters first
* and then import the received public peer key */
* as this is used by OpenSSL for ECDH, to set the expected parameters
* first and then import the received public peer key */
if ((selection & OSSL_KEYMGMT_SELECT_ALL) == 0) {
P11PROV_raise(provctx, CKR_ARGUMENTS_BAD, "Unsupported selection");
return NULL;
Expand Down Expand Up @@ -1765,8 +1765,8 @@ static void *p11prov_ed25519_gen_init(void *provctx, int selection,
}

/* we need to allow to initialize a generation of just domain parameters,
* as this is used by OpenSSL for ECDH, to set the expected paramters first
* and then import the received public peer key */
* as this is used by OpenSSL for ECDH, to set the expected parameters
* first and then import the received public peer key */
if ((selection & OSSL_KEYMGMT_SELECT_ALL) == 0) {
P11PROV_raise(provctx, CKR_ARGUMENTS_BAD, "Unsupported selection");
return NULL;
Expand Down Expand Up @@ -1817,8 +1817,8 @@ static void *p11prov_ed448_gen_init(void *provctx, int selection,
}

/* we need to allow to initialize a generation of just domain parameters,
* as this is used by OpenSSL for ECDH, to set the expected paramters first
* and then import the received public peer key */
* as this is used by OpenSSL for ECDH, to set the expected parameters
* first and then import the received public peer key */
if ((selection & OSSL_KEYMGMT_SELECT_ALL) == 0) {
P11PROV_raise(provctx, CKR_ARGUMENTS_BAD, "Unsupported selection");
return NULL;
Expand Down

0 comments on commit 0c69ac1

Please sign in to comment.