Skip to content

Commit

Permalink
Fix Codespell errors
Browse files Browse the repository at this point in the history
Also add `it.po` to the skiplist.

Signed-off-by: Paul Wolneykien <[email protected]>
  • Loading branch information
wolneykien committed Apr 26, 2024
1 parent 8da6c47 commit b41f250
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@v1
with:
skip: ./po/de.po,./po/fr.po,./po/nl.po,./po/pt_BR.po
skip: ./po/de.po,./po/fr.po,./po/nl.po,./po/pt_BR.po,./po/it.po
ignore_words_file: codespell_ignore_words.txt
2 changes: 1 addition & 1 deletion doc/card_eventmgr.1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Enable debugging output.
.TP
.RB [ no ] daemon
Runs in background if daemon or in foreground if nodaemon (default). If
debug is unset, the program dettaches itself from the tty.
debug is unset, the program detaches itself from the tty.
.TP
.BI timeout= <msecs>
Set polling timeout in milliseconds. Defaults to 1000 (1 second).
Expand Down
2 changes: 1 addition & 1 deletion doc/mappers_api.xml
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ The API defines following functions:
</para>

<para>
An important note is that mapfiles names can be provided as standard UNIX path names, or Universal Resource Locators. For instance, you can use either <filename>/etc/pam_pkcs11/subject_mapping</filename> or <filename>file:///etc/pam_pkcs11/subject_mapping</filename>. Our recommentation is to use second format as is not restricted to local files
An important note is that mapfiles names can be provided as standard UNIX path names, or Universal Resource Locators. For instance, you can use either <filename>/etc/pam_pkcs11/subject_mapping</filename> or <filename>file:///etc/pam_pkcs11/subject_mapping</filename>. Our recommendation is to use second format as is not restricted to local files
</para>
<para>
<lineannotation>NOTE:</lineannotation>
Expand Down
4 changes: 2 additions & 2 deletions src/common/cert_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ SECOidTag CERT_KerberosPN_OID = SEC_OID_UNKNOWN;
static const unsigned char kerberosOID[] = { 0x2b, 0x6, 0x1, 0x5, 0x2, 0x2 };
static const SECOidData kerberosPN_Entry =
{ TO_ITEM(kerberosOID), SEC_OID_UNKNOWN,
"Kerberos Priniciple", CKM_INVALID_MECHANISM, INVALID_CERT_EXTENSION };
"Kerberos Principle", CKM_INVALID_MECHANISM, INVALID_CERT_EXTENSION };

SECOidTag CERT_MicrosoftUPN_OID = SEC_OID_UNKNOWN;
/* { 1.3.6.1.4.1.311 } */
static const unsigned char microsoftUPNOID[] =
{ 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0x37, 0x14, 0x2, 0x3 };
static const SECOidData microsoftUPN_Entry =
{ TO_ITEM(microsoftUPNOID), SEC_OID_UNKNOWN,
"Microsoft Universal Priniciple", CKM_INVALID_MECHANISM,
"Microsoft Universal Principle", CKM_INVALID_MECHANISM,
INVALID_CERT_EXTENSION };

/* register the oid if we haven't already */
Expand Down
2 changes: 1 addition & 1 deletion src/common/pkcs11_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ int crypto_init(cert_policy *policy) {
DBG1("Initializing NSS ... database=%s", policy->nss_dir);
rv = NSS_Init(policy->nss_dir);
} else {
/* not database secified */
/* not database specified */
DBG("Initializing NSS ... with no db");
rv = NSS_NoDB_Init(NULL);
}
Expand Down
2 changes: 1 addition & 1 deletion src/mappers/digest_mapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static char * digest_mapper_find_user(X509 *x509, void *context, int *match) {
}

/*
* parses the certificate and try to macth certificate digest
* parses the certificate and try to match certificate digest
* with provided user
*/
static int digest_mapper_match_user(X509 *x509,const char *login, void *context) {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/pkcs11_eventmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ int main(int argc, char *argv[])
}
else
{
/* not database secified */
/* not database specified */
rv = NSS_NoDB_Init(NULL);
}

Expand Down

0 comments on commit b41f250

Please sign in to comment.