Skip to content

Commit dfc3e46

Browse files
committed
Typos
1 parent ff9a6d3 commit dfc3e46

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- signature extraction/removal/verificaton on MSI/CAB files
1+
- signature extraction/removal/verification on MSI/CAB files
22
- clean up / untangle code
33
- separate timestamping
44
- remove mmap usage to increase portability

appx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ static int appx_write_central_directory(BIO *bio, ZIP_FILE *zip, int removeSigna
925925
if (removeSignature && !strcmp(entry->fileName, APP_SIGNATURE_FILENAME)) {
926926
continue;
927927
}
928-
/* APP_SIGNATURE is nt 'tainted' by offset shift after replacing the contents of [content_types] */
928+
/* APP_SIGNATURE is not 'tainted' by offset shift after replacing the contents of [content_types] */
929929
zipWriteCentralDirectoryEntry(bio, &sizeOnDisk, entry, strcmp(entry->fileName, APP_SIGNATURE_FILENAME) ? offsetDiff : 0);
930930
cdSize += sizeOnDisk;
931931
if (entry->overrideData) {
@@ -1430,7 +1430,7 @@ static void zipWriteCentralDirectoryEntry(BIO *bio, uint64_t *sizeOnDisk, ZIP_CE
14301430
#if 0
14311431
if (entry->extraFieldLen > 0 && entry->extraField)
14321432
{
1433-
/* TODO, if override daata, need to rewrite the extra field */
1433+
/* TODO, if override data, need to rewrite the extra field */
14341434
BIO_write(bio, entry->extraField, entry->extraFieldLen);
14351435
}
14361436
#endif

osslsigncode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ static BIO *bio_get_http(char *url, BIO *req, char *proxy, int rfc3161, char *ca
998998
#endif /* OPENSSL_VERSION_NUMBER<0x30000000L */
999999

10001000
/*
1001-
* Decode a HTTP response from BIO and write it into the PKCS7 structure
1001+
* Decode an HTTP response from BIO and write it into the PKCS7 structure
10021002
* Add timestamp to the PKCS7 SignerInfo structure:
10031003
* sig->d.sign->signer_info->unauth_attr
10041004
* [in, out] p7: new PKCS#7 signature

tests/client_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python3
2-
"""Implementation of a HTTP client"""
2+
"""Implementation of an HTTP client"""
33

44
import os
55
import sys

tests/exec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def main() -> None:
2929
# all exceptions are critical
3030
print(err, file=sys.stderr)
3131
else:
32-
print("Usage:\n\t{} COMMAND [ARG]...'".format(sys.argv[0]), file=sys.stderr)
32+
print("Usage:\n\t{} COMMAND [ARG]...".format(sys.argv[0]), file=sys.stderr)
3333
sys.exit(1)
3434

3535

tests/server_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python3
2-
"""Implementation of a HTTP server"""
2+
"""Implementation of an HTTP server"""
33

44
import argparse
55
import os

tests/server_http.pyw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python3
2-
"""Windows: Implementation of a HTTP server"""
2+
"""Windows: Implementation of an HTTP server"""
33

44
import argparse
55
import os

tests/start_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def clear_catalog(certs_path) -> None:
5151
file.write(random_hex)
5252

5353
def main() -> None:
54-
"""Wait for all tests certificate, compute leafhash"""
54+
"""Wait for all test certificates and compute leaf hash"""
5555

5656
parser = argparse.ArgumentParser()
5757
parser.add_argument(

0 commit comments

Comments
 (0)