Skip to content

Commit b41f250

Browse files
committed
Fix Codespell errors
Also add `it.po` to the skiplist. Signed-off-by: Paul Wolneykien <[email protected]>
1 parent 8da6c47 commit b41f250

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/workflows/codespell.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: codespell-project/actions-codespell@v1
1616
with:
17-
skip: ./po/de.po,./po/fr.po,./po/nl.po,./po/pt_BR.po
17+
skip: ./po/de.po,./po/fr.po,./po/nl.po,./po/pt_BR.po,./po/it.po
1818
ignore_words_file: codespell_ignore_words.txt

doc/card_eventmgr.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Enable debugging output.
2525
.TP
2626
.RB [ no ] daemon
2727
Runs in background if daemon or in foreground if nodaemon (default). If
28-
debug is unset, the program dettaches itself from the tty.
28+
debug is unset, the program detaches itself from the tty.
2929
.TP
3030
.BI timeout= <msecs>
3131
Set polling timeout in milliseconds. Defaults to 1000 (1 second).

doc/mappers_api.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ The API defines following functions:
747747
</para>
748748

749749
<para>
750-
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
750+
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
751751
</para>
752752
<para>
753753
<lineannotation>NOTE:</lineannotation>

src/common/cert_info.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ SECOidTag CERT_KerberosPN_OID = SEC_OID_UNKNOWN;
4747
static const unsigned char kerberosOID[] = { 0x2b, 0x6, 0x1, 0x5, 0x2, 0x2 };
4848
static const SECOidData kerberosPN_Entry =
4949
{ TO_ITEM(kerberosOID), SEC_OID_UNKNOWN,
50-
"Kerberos Priniciple", CKM_INVALID_MECHANISM, INVALID_CERT_EXTENSION };
50+
"Kerberos Principle", CKM_INVALID_MECHANISM, INVALID_CERT_EXTENSION };
5151

5252
SECOidTag CERT_MicrosoftUPN_OID = SEC_OID_UNKNOWN;
5353
/* { 1.3.6.1.4.1.311 } */
5454
static const unsigned char microsoftUPNOID[] =
5555
{ 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0x37, 0x14, 0x2, 0x3 };
5656
static const SECOidData microsoftUPN_Entry =
5757
{ TO_ITEM(microsoftUPNOID), SEC_OID_UNKNOWN,
58-
"Microsoft Universal Priniciple", CKM_INVALID_MECHANISM,
58+
"Microsoft Universal Principle", CKM_INVALID_MECHANISM,
5959
INVALID_CERT_EXTENSION };
6060

6161
/* register the oid if we haven't already */

src/common/pkcs11_lib.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ int crypto_init(cert_policy *policy) {
232232
DBG1("Initializing NSS ... database=%s", policy->nss_dir);
233233
rv = NSS_Init(policy->nss_dir);
234234
} else {
235-
/* not database secified */
235+
/* not database specified */
236236
DBG("Initializing NSS ... with no db");
237237
rv = NSS_NoDB_Init(NULL);
238238
}

src/mappers/digest_mapper.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static char * digest_mapper_find_user(X509 *x509, void *context, int *match) {
6969
}
7070

7171
/*
72-
* parses the certificate and try to macth certificate digest
72+
* parses the certificate and try to match certificate digest
7373
* with provided user
7474
*/
7575
static int digest_mapper_match_user(X509 *x509,const char *login, void *context) {

src/tools/pkcs11_eventmgr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ int main(int argc, char *argv[])
459459
}
460460
else
461461
{
462-
/* not database secified */
462+
/* not database specified */
463463
rv = NSS_NoDB_Init(NULL);
464464
}
465465

0 commit comments

Comments
 (0)