Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from veracrypt:master #207

Open
wants to merge 64 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
71e4725
Update Language.ro.xml (#1434)
TigerxWood Nov 9, 2024
fcc0c82
Translations: Fix missing lang id in Romanian translation
idrassi Nov 9, 2024
04c747f
Add support for SHA-256 x86 instrinsic for enhance performance of PBK…
idrassi Nov 10, 2024
73684e5
Linux: Fix build error following SHA intrinsic support changes
idrassi Nov 10, 2024
262b745
Linux: Fix detection of SHA CPU support on virtualized environment by…
idrassi Nov 10, 2024
a1ade61
Linux: Fix build error caused by changes for dynamic CPU SHA support …
idrassi Nov 10, 2024
ec4b44c
Windows: Use BCryptGenRandom instead of deprecated CryptGenRandom to …
idrassi Nov 13, 2024
cb97351
Windows: Remove support for 32-bit driver code. Set build target as W…
idrassi Nov 13, 2024
c63b74b
Linux: Fix build error following latest code cleanup
idrassi Nov 13, 2024
75152f7
Use adequate const qualifiers for pbkdf2 functions arguments
idrassi Nov 13, 2024
951c8d2
Use portable alignment macro to be compatible with Linux/macOS
idrassi Nov 13, 2024
117d8dd
Windows: Fix MBR bootload compilation error following latest changes
idrassi Nov 14, 2024
43ad4f9
Windows: Fix various compiler warnings
idrassi Nov 14, 2024
fc4a544
Windows: Use VS builtin __fastfail intrinsic for fatal exception inst…
idrassi Nov 14, 2024
21e61c8
Windows: Fix warning in driver build by make get_pkcs5_iteration_coun…
idrassi Nov 15, 2024
de9e472
Windows: Fix build of MBR bootloader
idrassi Nov 15, 2024
214fbb5
Windows: Upgrade VS 2019 solution/projects to VS 2022. Remove Win32 c…
idrassi Nov 15, 2024
ad39040
Windows: Fix warning when building Setup and Portable. No file elevat…
idrassi Nov 15, 2024
6d1ad12
Windows: move main project files and solution from VS 2010 to VS 2022…
idrassi Nov 15, 2024
fff9e72
Windows: Fix delayload link warning about comdlg32.dll not used. Remo…
idrassi Nov 15, 2024
62e9569
Windows: remove VS 2019 solution and project files since we migrated …
idrassi Nov 15, 2024
3a5fe63
Windows: Fix VS 2022 projects references
idrassi Nov 15, 2024
a69cba9
Windows: Fix regression in self-test of hash algorithms that caused t…
idrassi Nov 15, 2024
489d3e3
Windows: Fix output directory configuration of COMREG project
idrassi Nov 15, 2024
c86577f
Windows: remove 32-bit logic from the code since we support only 64-b…
idrassi Nov 16, 2024
9c9870b
Windows: Avoid modifying BootArguments structure and use __unaligned …
idrassi Nov 16, 2024
a588b20
Windows: Fix driver crash caused by 32-bit leftover code in derive_ke…
idrassi Nov 16, 2024
b7f6270
Windows Driver: Add Unicode define to build and enhance tracing in de…
idrassi Nov 16, 2024
22c93dd
Linux/macOS: make binary symbols visible in crash report.
idrassi Nov 17, 2024
42fdbcf
Windows Driver: Fix deadlock in EncryptedIoQueue due to re-entrant IR…
idrassi Nov 17, 2024
93868ac
Windows Driver: Use system functions directly instead of dynamic load…
idrassi Nov 17, 2024
f9b9a9c
Increment version to 1.26.16. Update Release Notes. Update signed Win…
idrassi Nov 17, 2024
b85a2df
Windows driver: use correct WDM type. Increment version to 1.26.17
idrassi Nov 19, 2024
9490336
Windows: Update signed Windows drivers.
idrassi Nov 20, 2024
5a85c54
Windows Driver: Optimize spinlock usage in CompleteIrpWorkItemRoutine
idrassi Nov 22, 2024
453ff28
Windows Driver: Make max work items count configurable. Increase defa…
idrassi Nov 23, 2024
53bbee3
Windows Driver: Set version to 1.26.17.1. Update signed drivers.
idrassi Nov 24, 2024
e798d88
Translations: Update Slovenian translation (contributed by Prof. Sasa…
idrassi Nov 24, 2024
b6f3d8a
Translations: Fix issues in Slovenian translation. Complete translati…
idrassi Nov 24, 2024
8ad9e7d
Set 1.26.17 release date to November 24th
idrassi Nov 24, 2024
0c5fcf2
Windows Setup: Fix "Access Denied" issue during VeraCrypt update afte…
idrassi Nov 24, 2024
7e398c9
Windows: don't test sign driver by default in Release mode.
idrassi Nov 24, 2024
3b4b0f6
Translations: Update Slovenian translation (contributed by Prof. Sasa…
idrassi Nov 26, 2024
968b729
Update Release Notes.
idrassi Nov 26, 2024
c98fc90
Windows Setup: Fix the implementation of backup/restore of file permi…
idrassi Nov 27, 2024
3bb5184
Windows: Increment version to 1.26.17.2. Update signed drivers.
idrassi Nov 27, 2024
57cc247
Translations: Update Slovenian translation (contributed by Prof. Sasa…
idrassi Dec 22, 2024
f05ce4e
Updated Russian translation of Release Notes (by Dmitry Yerokhin)
idrassi Dec 22, 2024
b6e698b
Linux/macOS: check if volume doesn't exist before starting the mount …
idrassi Dec 23, 2024
341411e
Linux: Fix "Password too long" error message not expanded to include …
idrassi Dec 24, 2024
ca331b8
Linux/macOS: Simplify sudo session detection logic and extend it to m…
idrassi Dec 25, 2024
3f8ac7c
Add XML validation Github workflow (contributed by Jertzukka github.c…
idrassi Dec 25, 2024
650984c
Linux: Fix warning during build cause by deprecated 'u' modifier in "…
idrassi Dec 25, 2024
2830595
Windows Driver: make UpdateBuffer function more robust by adding secu…
idrassi Dec 25, 2024
81f0adc
Windows Driver: set Windows 10 version 1809 as minimum.
idrassi Dec 25, 2024
d9e1752
Windows: Update Windows version check on startup to require Win10 180…
idrassi Dec 25, 2024
f3af65b
Windows driver: Use IO_DISK_INCREMENT for event signaling in IRP comp…
idrassi Dec 25, 2024
4e85009
Windows: use modern API to gather system entropy for random generatio…
idrassi Dec 26, 2024
fcc6302
Windows: Update LZMA SDK to version 24.09
idrassi Jan 1, 2025
138e5e7
Windows: Update libzip to version 1.11.2
idrassi Jan 1, 2025
a8c9048
Windows: Add missing file entry to Zip project after libzip update
idrassi Jan 6, 2025
e8e0be2
Update donation HTML page to use new PayPal donation links
idrassi Jan 6, 2025
cc2f177
Linux Debian/Ubuntu: use a distro-specific version string to avoid AP…
idrassi Jan 11, 2025
2aae142
Windows: Fix regression in Traveler Disk creation (#886)
idrassi Jan 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Windows: Update libzip to version 1.11.2
  • Loading branch information
idrassi committed Jan 1, 2025
commit 138e5e7c1dfba4717a4e6d5abb1abb0f82d6f49f
17 changes: 17 additions & 0 deletions src/Common/libzip/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 1.11.2 [2024-10-31]

* Fix performance regression in `zip_stat` introduced in 1.11.

# 1.11.1 [2024-09-19]

* Fix zipconf.h for version number with missing third component.

# 1.11 [2024-09-19]

* Stop searching after finding acceptable central directory, even if it contains inconsistencies.
* Only write Zip64 EOCD if fields don't fit in normal EOCD. Previously libzip also wrote it when any directory entry required Zip64.
* Allow bytes from 0x00-0x1F as UTF-8.
* Add new error code `ZIP_ER_TRUNCATED_ZIP` for files that start with a valid local header signature.
* `zipcmp`: add `-T` option for comparing timestamps.
* `zip_file_replace` now removes the target's extra field information.

# 1.10.1 [2023-08-23]

* Add `ZIP_LENGTH_TO_END` and `ZIP_LENGTH_UNCHECKED`. Unless `ZIP_LENGTH_UNCHECKED` is used as `length`, it is an error for a file to shrink between the time when the source is created and when its data is read.
Expand Down
78 changes: 54 additions & 24 deletions src/Common/libzip/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/*
compat.h -- compatibility defines.
Copyright (C) 1999-2021 Dieter Baron and Thomas Klausner
Copyright (C) 1999-2022 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down Expand Up @@ -126,14 +126,65 @@ typedef char bool;
#endif
#endif

#ifndef HAVE_FSEEKO
#define fseeko(s, o, w) (fseek((s), (long int)(o), (w)))

#if defined(HAVE__FSEEKI64) && defined(HAVE__FSTAT64) && defined(HAVE__FTELLI64)
/* Windows API using int64 */
typedef zip_int64_t zip_off_t;
typedef struct _stat64 zip_os_stat_t;
#define zip_os_stat _stat64
#define zip_os_fstat _fstat64
#define zip_os_fseek _fseeki64
#define zip_os_ftell _ftelli64
#define ZIP_FSEEK_MAX ZIP_INT64_MAX
#define ZIP_FSEEK_MIN ZIP_INT64_MIN
#else

/* Normal API */
#include <sys/stat.h>
typedef struct stat zip_os_stat_t;
#define zip_os_fstat fstat
#define zip_os_stat stat

#if defined(HAVE_FTELLO) && defined(HAVE_FSEEKO)
/* Using off_t */
typedef off_t zip_off_t;
#if SIZEOF_OFF_T == 8
#define ZIP_OFF_MAX ZIP_INT64_MAX
#define ZIP_OFF_MIN ZIP_INT64_MIN
#elif SIZEOF_OFF_T == 4
#define ZIP_OFF_MAX ZIP_INT32_MAX
#define ZIP_OFF_MIN ZIP_INT32_MIN
#elif SIZEOF_OFF_T == 2
#define ZIP_OFF_MAX ZIP_INT16_MAX
#define ZIP_OFF_MIN ZIP_INT16_MIN
#else
#error unsupported size of off_t
#endif

#define ZIP_FSEEK_MAX ZIP_OFF_MAX
#define ZIP_FSEEK_MIN ZIP_OFF_MIN

#define zip_os_fseek fseeko
#define zip_os_ftell ftello
#else

/* Using long */
typedef long zip_off_t;
#include <limits.h>
#define ZIP_FSEEK_MAX LONG_MAX
#define ZIP_FSEEK_MIN LONG_MIN

#define zip_os_fseek fseek
#define zip_os_ftell ftell
#endif

#endif

#ifndef HAVE_FTELLO
#define ftello(s) ((long)ftell((s)))
#endif


#ifdef HAVE_LOCALTIME_S
#ifdef _WIN32
/* Windows is incompatible to the C11 standard, hurray! */
Expand Down Expand Up @@ -182,27 +233,6 @@ typedef char bool;
#endif
#endif

#if SIZEOF_OFF_T == 8
#define ZIP_OFF_MAX ZIP_INT64_MAX
#define ZIP_OFF_MIN ZIP_INT64_MIN
#elif SIZEOF_OFF_T == 4
#define ZIP_OFF_MAX ZIP_INT32_MAX
#define ZIP_OFF_MIN ZIP_INT32_MIN
#elif SIZEOF_OFF_T == 2
#define ZIP_OFF_MAX ZIP_INT16_MAX
#define ZIP_OFF_MIN ZIP_INT16_MIN
#else
#error unsupported size of off_t
#endif

#if defined(HAVE_FTELLO) && defined(HAVE_FSEEKO)
#define ZIP_FSEEK_MAX ZIP_OFF_MAX
#define ZIP_FSEEK_MIN ZIP_OFF_MIN
#else
#include <limits.h>
#define ZIP_FSEEK_MAX LONG_MAX
#define ZIP_FSEEK_MIN LONG_MIN
#endif

#ifndef SIZE_MAX
#if SIZEOF_SIZE_T == 8
Expand Down
6 changes: 5 additions & 1 deletion src/Common/libzip/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
#define HAVE__DUP
#define HAVE__FDOPEN
#define HAVE__FILENO
#define HAVE__FSEEKI64
#define HAVE__FSTAT64
#define HAVE__FTELLI64
#define HAVE__SETMODE
#if defined(_MSC_VER) && _MSC_VER < 1900
#define HAVE__SNPRINTF
Expand All @@ -18,6 +21,7 @@
#endif
#define HAVE__SNPRINTF_S
#define HAVE__SNWPRINTF_S
#define HAVE__STAT64
#define HAVE__STRDUP
#define HAVE__STRICMP
#define HAVE__STRTOI64
Expand Down Expand Up @@ -88,6 +92,6 @@
#define HAVE_SHARED
/* END DEFINES */
#define PACKAGE "libzip"
#define VERSION "1.10.1"
#define VERSION "1.11.2"

#endif /* HAD_CONFIG_H */
6 changes: 4 additions & 2 deletions src/Common/libzip/zip.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/*
zip.h -- exported declarations.
Copyright (C) 1999-2021 Dieter Baron and Thomas Klausner
Copyright (C) 1999-2024 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down Expand Up @@ -158,6 +158,7 @@ extern "C" {
#define ZIP_ER_CANCELLED 32 /* N Operation cancelled */
#define ZIP_ER_DATA_LENGTH 33 /* N Unexpected length of data */
#define ZIP_ER_NOT_ALLOWED 34 /* N Not allowed in torrentzip */
#define ZIP_ER_TRUNCATED_ZIP 35 /* N Possibly truncated or corrupted zip archive */

/* type of system error value */

Expand Down Expand Up @@ -260,7 +261,8 @@ enum zip_source_cmd {
ZIP_SOURCE_BEGIN_WRITE_CLONING, /* like ZIP_SOURCE_BEGIN_WRITE, but keep part of original file */
ZIP_SOURCE_ACCEPT_EMPTY, /* whether empty files are valid archives */
ZIP_SOURCE_GET_FILE_ATTRIBUTES, /* get additional file attributes */
ZIP_SOURCE_SUPPORTS_REOPEN /* allow reading from changed entry */
ZIP_SOURCE_SUPPORTS_REOPEN, /* allow reading from changed entry */
ZIP_SOURCE_GET_DOS_TIME /* get last modification time in DOS format */
};
typedef enum zip_source_cmd zip_source_cmd_t;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_add.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_add.c -- add file via callback function
Copyright (C) 1999-2021 Dieter Baron and Thomas Klausner
Copyright (C) 1999-2022 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_add_dir.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_add_dir.c -- add directory
Copyright (C) 1999-2021 Dieter Baron and Thomas Klausner
Copyright (C) 1999-2022 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions src/Common/libzip/zip_add_entry.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_add_entry.c -- create and init struct zip_entry
Copyright (C) 1999-2021 Dieter Baron and Thomas Klausner
Copyright (C) 1999-2024 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down Expand Up @@ -64,7 +64,7 @@ _zip_add_entry(zip_t *za) {
return -1;
}
rentries = (zip_entry_t *)realloc(za->entry, sizeof(struct zip_entry) * (size_t)nalloc);
if (!rentries) {
if (rentries == NULL) {
zip_error_set(&za->error, ZIP_ER_MEMORY, 0);
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_algorithm_bzip2.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_algorithm_bzip2.c -- bzip2 (de)compression routines
Copyright (C) 2017-2021 Dieter Baron and Thomas Klausner
Copyright (C) 2017-2023 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_algorithm_deflate.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_algorithm_deflate.c -- deflate (de)compression routines
Copyright (C) 2017-2021 Dieter Baron and Thomas Klausner
Copyright (C) 2017-2023 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_algorithm_xz.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
zip_algorithm_xz.c -- LZMA/XZ (de)compression routines
Bazed on zip_algorithm_deflate.c -- deflate (de)compression routines
Copyright (C) 2017-2021 Dieter Baron and Thomas Klausner
Copyright (C) 2017-2023 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_algorithm_zstd.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_algorithm_zstd.c -- zstd (de)compression routines
Copyright (C) 2020-2021 Dieter Baron and Thomas Klausner
Copyright (C) 2020-2023 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
5 changes: 2 additions & 3 deletions src/Common/libzip/zip_buffer.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_buffer.c -- bounds checked access to memory buffer
Copyright (C) 2014-2021 Dieter Baron and Thomas Klausner
Copyright (C) 2014-2024 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down Expand Up @@ -306,8 +306,7 @@ _zip_buffer_put_8(zip_buffer_t *buffer, zip_uint8_t i) {
}


int
_zip_buffer_set_offset(zip_buffer_t *buffer, zip_uint64_t offset) {
int _zip_buffer_set_offset(zip_buffer_t *buffer, zip_uint64_t offset) {
if (offset > buffer->size) {
buffer->ok = false;
return -1;
Expand Down
45 changes: 30 additions & 15 deletions src/Common/libzip/zip_close.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_close.c -- close zip archive and update changes
Copyright (C) 1999-2022 Dieter Baron and Thomas Klausner
Copyright (C) 1999-2024 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down Expand Up @@ -44,7 +44,7 @@

static int add_data(zip_t *, zip_source_t *, zip_dirent_t *, zip_uint32_t);
static int copy_data(zip_t *, zip_uint64_t);
static int copy_source(zip_t *, zip_source_t *, zip_int64_t);
static int copy_source(zip_t *, zip_source_t *, zip_source_t *, zip_int64_t);
static int torrentzip_compare_names(const void *a, const void *b);
static int write_cdir(zip_t *, const zip_filelist_t *, zip_uint64_t);
static int write_data_descriptor(zip_t *za, const zip_dirent_t *dirent, int is_zip64);
Expand Down Expand Up @@ -468,11 +468,7 @@ add_data(zip_t *za, zip_source_t *src, zip_dirent_t *de, zip_uint32_t changed) {

/* PKWare encryption uses last_mod, make sure it gets the right value. */
if (de->changed & ZIP_DIRENT_LAST_MOD) {
zip_stat_t st_mtime;
zip_stat_init(&st_mtime);
st_mtime.valid = ZIP_STAT_MTIME;
st_mtime.mtime = de->last_mod;
if ((src_tmp = _zip_source_window_new(src_final, 0, -1, &st_mtime, 0, NULL, NULL, 0, true, &za->error)) == NULL) {
if ((src_tmp = _zip_source_window_new(src_final, 0, -1, NULL, 0, NULL, &de->last_mod, NULL, 0, true, &za->error)) == NULL) {
zip_source_free(src_final);
return -1;
}
Expand All @@ -495,7 +491,7 @@ add_data(zip_t *za, zip_source_t *src, zip_dirent_t *de, zip_uint32_t changed) {
return -1;
}

ret = copy_source(za, src_final, data_length);
ret = copy_source(za, src_final, src, data_length);

if (zip_source_stat(src_final, &st) < 0) {
zip_error_set_from_source(&za->error, src_final);
Expand Down Expand Up @@ -529,10 +525,23 @@ add_data(zip_t *za, zip_source_t *src, zip_dirent_t *de, zip_uint32_t changed) {
}

if ((de->changed & ZIP_DIRENT_LAST_MOD) == 0) {
if (st.valid & ZIP_STAT_MTIME)
de->last_mod = st.mtime;
else
time(&de->last_mod);
int ret2 = zip_source_get_dos_time(src, &de->last_mod);
if (ret2 < 0) {
zip_error_set_from_source(&za->error, src);
return -1;
}
if (ret2 == 0) {
time_t mtime;
if (st.valid & ZIP_STAT_MTIME) {
mtime = st.mtime;
}
else {
time(&mtime);
}
if (_zip_u2d_time(mtime, &de->last_mod, &za->error) < 0) {
return -1;
}
}
}
de->comp_method = st.comp_method;
de->crc = st.crc;
Expand Down Expand Up @@ -605,7 +614,7 @@ copy_data(zip_t *za, zip_uint64_t len) {


static int
copy_source(zip_t *za, zip_source_t *src, zip_int64_t data_length) {
copy_source(zip_t *za, zip_source_t *src, zip_source_t *src_for_length, zip_int64_t data_length) {
DEFINE_BYTE_ARRAY(buf, BUFSIZE);
zip_int64_t n, current;
int ret;
Expand All @@ -628,7 +637,13 @@ copy_source(zip_t *za, zip_source_t *src, zip_int64_t data_length) {
break;
}
if (n == BUFSIZE && za->progress && data_length > 0) {
current += n;
zip_int64_t t;
t = zip_source_tell(src_for_length);
if (t >= 0) {
current = t;
} else {
current += n;
}
if (_zip_progress_update(za->progress, (double)current / (double)data_length) != 0) {
zip_error_set(&za->error, ZIP_ER_CANCELLED, 0);
ret = -1;
Expand Down Expand Up @@ -742,4 +757,4 @@ static int torrentzip_compare_names(const void *a, const void *b) {
}

return strcasecmp(aname, bname);
}
}
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_crypto.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_crypto.h -- crypto definitions
Copyright (C) 2017-2021 Dieter Baron and Thomas Klausner
Copyright (C) 2017-2022 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_crypto_commoncrypto.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_crypto_commoncrypto.c -- CommonCrypto wrapper.
Copyright (C) 2018-2021 Dieter Baron and Thomas Klausner
Copyright (C) 2018-2022 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_crypto_commoncrypto.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_crypto_commoncrypto.h -- definitions for CommonCrypto wrapper.
Copyright (C) 2018 Dieter Baron and Thomas Klausner
Copyright (C) 2018-2022 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/libzip/zip_crypto_gnutls.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
zip_crypto_gnutls.c -- GnuTLS wrapper.
Copyright (C) 2018-2021 Dieter Baron and Thomas Klausner
Copyright (C) 2018-2022 Dieter Baron and Thomas Klausner

This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <[email protected]>
Expand Down
Loading