mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-02 19:22:47 -05:00
docs: fix typo in appx comments
This commit is contained in:
4
appx.c
4
appx.c
@ -912,7 +912,7 @@ static int appx_write_central_directory(BIO *bio, ZIP_FILE *zip, int removeSigna
|
|||||||
uint16_t noEntries = 0;
|
uint16_t noEntries = 0;
|
||||||
|
|
||||||
for (entry = zip->centralDirectoryHead; entry != NULL; entry = entry->next) {
|
for (entry = zip->centralDirectoryHead; entry != NULL; entry = entry->next) {
|
||||||
/* the signature file is considered non existent for hashing purposes */
|
/* the signature file is considered nonexistent for hashing purposes */
|
||||||
uint64_t sizeOnDisk = 0;
|
uint64_t sizeOnDisk = 0;
|
||||||
if (noEntries > zip->centralDirectoryRecordCount) {
|
if (noEntries > zip->centralDirectoryRecordCount) {
|
||||||
fprintf(stderr, "Corrupted central directory structure\n");
|
fprintf(stderr, "Corrupted central directory structure\n");
|
||||||
@ -1187,7 +1187,7 @@ static int appx_compare_hashes(FILE_FORMAT_CTX *ctx)
|
|||||||
return 0; /* FAILED */
|
return 0; /* FAILED */
|
||||||
}
|
}
|
||||||
} else if (!ctx->appx_ctx->calculatedCIHash && !ctx->appx_ctx->existingCIHash) {
|
} else if (!ctx->appx_ctx->calculatedCIHash && !ctx->appx_ctx->existingCIHash) {
|
||||||
/* this is fine, CI file is optional -> if it is missing we expect both hashes to be non existent */
|
/* this is fine, CI file is optional -> if it is missing we expect both hashes to be nonexistent */
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Code Integrity hash missing\n");
|
fprintf(stderr, "Code Integrity hash missing\n");
|
||||||
return 0; /* FAILED */
|
return 0; /* FAILED */
|
||||||
|
Reference in New Issue
Block a user