Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libcaes for openSUSE:Factory checked 
in at 2023-04-07 22:02:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcaes (Old)
 and      /work/SRC/openSUSE:Factory/.libcaes.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcaes"

Fri Apr  7 22:02:08 2023 rev:18 rq:1077901 version:20230406

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcaes/libcaes.changes  2022-11-28 
11:07:13.079797411 +0100
+++ /work/SRC/openSUSE:Factory/.libcaes.new.19717/libcaes.changes       
2023-04-07 22:02:09.295734190 +0200
@@ -1,0 +2,6 @@
+Fri Apr  7 17:22:18 UTC 2023 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 20230406
+  * No changelog was provided
+
+-------------------------------------------------------------------

Old:
----
  libcaes-alpha-20221127.tar.gz
  libcaes-alpha-20221127.tar.gz.asc

New:
----
  libcaes-alpha-20230406.tar.gz
  libcaes-alpha-20230406.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcaes.spec ++++++
--- /var/tmp/diff_new_pack.vwC8A0/_old  2023-04-07 22:02:09.855738800 +0200
+++ /var/tmp/diff_new_pack.vwC8A0/_new  2023-04-07 22:02:09.859738832 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libcaes
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 Name:           libcaes
 %define lname  libcaes1
-Version:        20221127
+Version:        20230406
 Release:        0
 Summary:        Library for AES encryption
 License:        LGPL-3.0-or-later

++++++ libcaes-alpha-20221127.tar.gz -> libcaes-alpha-20230406.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/AUTHORS new/libcaes-20230406/AUTHORS
--- old/libcaes-20221127/AUTHORS        2022-11-27 19:53:35.000000000 +0100
+++ new/libcaes-20230406/AUTHORS        2023-04-06 04:42:05.000000000 +0200
@@ -1,6 +1,6 @@
 Acknowledgements: libcaes
 
-Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
 
 Additional credits go to:
 * Omar Choudary <choudary.o...@gmail.com> for providing initial
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/ChangeLog 
new/libcaes-20230406/ChangeLog
--- old/libcaes-20221127/ChangeLog      2019-12-24 13:39:01.000000000 +0100
+++ new/libcaes-20230406/ChangeLog      2023-04-06 04:46:42.000000000 +0200
@@ -1,12 +1,17 @@
 TODO
 * look into supporting input buffer == output buffer for optimization
 * CCM add separate function for authentication data support
-* implement libcaes_crypt_cfb; complete CFB suport
 * add OFB suport ?
 * add restriction that context should be used in the mode the keys were set ?
   does not work for CCM
 
+complete CFB suport
+* implement libcaes_crypt_cfb
+* add API function
+* add fuzz target
+
 Tests:
+* move crypt tests into context
 * integrate test runner into tests
 * add pycaes ECB and XTS encryption tests
 * add tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/byte_stream.h 
new/libcaes-20230406/common/byte_stream.h
--- old/libcaes-20221127/common/byte_stream.h   2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/byte_stream.h   2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Byte stream functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/common.h 
new/libcaes-20230406/common/common.h
--- old/libcaes-20221127/common/common.h        2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/common.h        2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Common include file
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/config.h 
new/libcaes-20230406/common/config.h
--- old/libcaes-20221127/common/config.h        2022-11-27 19:58:24.000000000 
+0100
+++ new/libcaes-20230406/common/config.h        2023-04-06 05:22:55.000000000 
+0200
@@ -326,7 +326,7 @@
 #define PACKAGE_NAME "libcaes"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libcaes 20221127"
+#define PACKAGE_STRING "libcaes 20230406"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libcaes"
@@ -335,7 +335,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "20221127"
+#define PACKAGE_VERSION "20230406"
 
 /* The size of `int', as computed by sizeof. */
 #define SIZEOF_INT 4
@@ -361,7 +361,7 @@
 /* #undef STRERROR_R_CHAR_P */
 
 /* Version number of package */
-#define VERSION "20221127"
+#define VERSION "20230406"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/config_borlandc.h 
new/libcaes-20230406/common/config_borlandc.h
--- old/libcaes-20221127/common/config_borlandc.h       2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/common/config_borlandc.h       2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Configuration for the Borland/CodeGear C++ Builder compiler
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/config_msc.h 
new/libcaes-20230406/common/config_msc.h
--- old/libcaes-20221127/common/config_msc.h    2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/config_msc.h    2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Configuration for the Microsoft Visual Studio C++ compiler
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/config_winapi.h 
new/libcaes-20230406/common/config_winapi.h
--- old/libcaes-20221127/common/config_winapi.h 2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/config_winapi.h 2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Configuration file for WINAPI
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/file_stream.h 
new/libcaes-20230406/common/file_stream.h
--- old/libcaes-20221127/common/file_stream.h   2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/file_stream.h   2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * FILE stream functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/memory.h 
new/libcaes-20230406/common/memory.h
--- old/libcaes-20221127/common/memory.h        2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/memory.h        2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Memory functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/narrow_string.h 
new/libcaes-20230406/common/narrow_string.h
--- old/libcaes-20221127/common/narrow_string.h 2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/narrow_string.h 2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Narrow character string functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/system_string.h 
new/libcaes-20230406/common/system_string.h
--- old/libcaes-20221127/common/system_string.h 2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/system_string.h 2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * System character string functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/types.h 
new/libcaes-20230406/common/types.h
--- old/libcaes-20221127/common/types.h 2022-11-27 20:00:26.000000000 +0100
+++ new/libcaes-20230406/common/types.h 2023-04-07 07:34:56.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Type and type-support definitions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/types.h.in 
new/libcaes-20230406/common/types.h.in
--- old/libcaes-20221127/common/types.h.in      2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/types.h.in      2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Type and type-support definitions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/common/wide_string.h 
new/libcaes-20230406/common/wide_string.h
--- old/libcaes-20221127/common/wide_string.h   2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/common/wide_string.h   2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Wide character string functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/configure 
new/libcaes-20230406/configure
--- old/libcaes-20221127/configure      2022-11-27 20:00:15.000000000 +0100
+++ new/libcaes-20230406/configure      2023-04-07 07:34:44.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libcaes 20221127.
+# Generated by GNU Autoconf 2.71 for libcaes 20230406.
 #
 # Report bugs to <joachim.m...@gmail.com>.
 #
@@ -621,8 +621,8 @@
 # Identity of this package.
 PACKAGE_NAME='libcaes'
 PACKAGE_TARNAME='libcaes'
-PACKAGE_VERSION='20221127'
-PACKAGE_STRING='libcaes 20221127'
+PACKAGE_VERSION='20230406'
+PACKAGE_STRING='libcaes 20230406'
 PACKAGE_BUGREPORT='joachim.m...@gmail.com'
 PACKAGE_URL=''
 
@@ -1495,7 +1495,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libcaes 20221127 to adapt to many kinds of systems.
+\`configure' configures libcaes 20230406 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1566,7 +1566,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libcaes 20221127:";;
+     short | recursive ) echo "Configuration of libcaes 20230406:";;
    esac
   cat <<\_ACEOF
 
@@ -1726,7 +1726,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libcaes configure 20221127
+libcaes configure 20230406
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2447,7 +2447,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libcaes $as_me 20221127, which was
+It was created by libcaes $as_me 20230406, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3936,7 +3936,7 @@
 
 # Define the identity of the package.
  PACKAGE='libcaes'
- VERSION='20221127'
+ VERSION='20230406'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -28777,7 +28777,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libcaes $as_me 20221127, which was
+This file was extended by libcaes $as_me 20230406, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -28845,7 +28845,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libcaes config.status 20221127
+libcaes config.status 20230406
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/configure.ac 
new/libcaes-20230406/configure.ac
--- old/libcaes-20221127/configure.ac   2022-11-27 19:53:34.000000000 +0100
+++ new/libcaes-20230406/configure.ac   2023-04-06 04:46:42.000000000 +0200
@@ -2,7 +2,7 @@
 
 AC_INIT(
  [libcaes],
- [20221127],
+ [20230406],
  [joachim.m...@gmail.com])
 
 AC_CONFIG_SRCDIR(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/dpkg/changelog 
new/libcaes-20230406/dpkg/changelog
--- old/libcaes-20221127/dpkg/changelog 2022-11-27 20:00:26.000000000 +0100
+++ new/libcaes-20230406/dpkg/changelog 2023-04-07 07:34:56.000000000 +0200
@@ -1,5 +1,5 @@
-libcaes (20221127-1) unstable; urgency=low
+libcaes (20230406-1) unstable; urgency=low
 
   * Auto-generated
 
- -- Joachim Metz <joachim.m...@gmail.com>  Sun, 27 Nov 2022 20:00:25 +0100
+ -- Joachim Metz <joachim.m...@gmail.com>  Fri, 07 Apr 2023 07:34:55 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/dpkg/copyright 
new/libcaes-20230406/dpkg/copyright
--- old/libcaes-20221127/dpkg/copyright 2022-11-27 19:53:36.000000000 +0100
+++ new/libcaes-20230406/dpkg/copyright 2023-04-06 04:42:06.000000000 +0200
@@ -3,7 +3,7 @@
 Source: https://github.com/libyal/libcaes
 
 Files: *
-Copyright: 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+Copyright: 2011-2023, Joachim Metz <joachim.m...@gmail.com>
 License: LGPL-3.0+
 
 License: LGPL-3.0+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes/definitions.h 
new/libcaes-20230406/include/libcaes/definitions.h
--- old/libcaes-20221127/include/libcaes/definitions.h  2022-11-27 
20:00:26.000000000 +0100
+++ new/libcaes-20230406/include/libcaes/definitions.h  2023-04-07 
07:34:56.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Definitions for libcaes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
@@ -24,11 +24,11 @@
 
 #include <libcaes/types.h>
 
-#define LIBCAES_VERSION                        20221127
+#define LIBCAES_VERSION                        20230406
 
 /* The version string
  */
-#define LIBCAES_VERSION_STRING         "20221127"
+#define LIBCAES_VERSION_STRING         "20230406"
 
 /* The crypt modes
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes/definitions.h.in 
new/libcaes-20230406/include/libcaes/definitions.h.in
--- old/libcaes-20221127/include/libcaes/definitions.h.in       2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/include/libcaes/definitions.h.in       2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Definitions for libcaes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes/error.h 
new/libcaes-20230406/include/libcaes/error.h
--- old/libcaes-20221127/include/libcaes/error.h        2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/include/libcaes/error.h        2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The error code definitions for libcaes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes/extern.h 
new/libcaes-20230406/include/libcaes/extern.h
--- old/libcaes-20221127/include/libcaes/extern.h       2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/include/libcaes/extern.h       2023-04-06 
04:42:05.000000000 +0200
@@ -4,7 +4,7 @@
  * This header should be included in header files that export or import
  * library functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes/features.h 
new/libcaes-20230406/include/libcaes/features.h
--- old/libcaes-20221127/include/libcaes/features.h     2022-11-27 
20:00:26.000000000 +0100
+++ new/libcaes-20230406/include/libcaes/features.h     2023-04-07 
07:34:56.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Features of libcaes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes/features.h.in 
new/libcaes-20230406/include/libcaes/features.h.in
--- old/libcaes-20221127/include/libcaes/features.h.in  2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/include/libcaes/features.h.in  2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Features of libcaes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes/types.h 
new/libcaes-20230406/include/libcaes/types.h
--- old/libcaes-20221127/include/libcaes/types.h        2022-11-27 
20:00:26.000000000 +0100
+++ new/libcaes-20230406/include/libcaes/types.h        2023-04-07 
07:34:56.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Type definitions for libcaes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes/types.h.in 
new/libcaes-20230406/include/libcaes/types.h.in
--- old/libcaes-20221127/include/libcaes/types.h.in     2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/include/libcaes/types.h.in     2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Type definitions for libcaes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes.h 
new/libcaes-20230406/include/libcaes.h
--- old/libcaes-20221127/include/libcaes.h      2022-11-27 20:00:26.000000000 
+0100
+++ new/libcaes-20230406/include/libcaes.h      2023-04-07 07:34:56.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Library to support support file format date and time values
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/include/libcaes.h.in 
new/libcaes-20230406/include/libcaes.h.in
--- old/libcaes-20221127/include/libcaes.h.in   2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/include/libcaes.h.in   2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Library to support support file format date and time values
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes.c 
new/libcaes-20230406/libcaes/libcaes.c
--- old/libcaes-20221127/libcaes/libcaes.c      2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/libcaes/libcaes.c      2023-04-06 04:42:05.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Library to support cross-platform AES encryption
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes.rc 
new/libcaes-20230406/libcaes/libcaes.rc
--- old/libcaes-20221127/libcaes/libcaes.rc     2022-11-27 20:00:26.000000000 
+0100
+++ new/libcaes-20230406/libcaes/libcaes.rc     2023-04-07 07:34:56.000000000 
+0200
@@ -22,12 +22,12 @@
     BLOCK "040904E4"
     BEGIN
       VALUE "FileDescription",         "Library to support cross-platform AES 
encryption\0"
-      VALUE "FileVersion",             "20221127" "\0"
+      VALUE "FileVersion",             "20230406" "\0"
       VALUE "InternalName",            "libcaes.dll\0"
-      VALUE "LegalCopyright",          "(C) 2011-2022, Joachim Metz 
<joachim.m...@gmail.com>\0"
+      VALUE "LegalCopyright",          "(C) 2011-2023, Joachim Metz 
<joachim.m...@gmail.com>\0"
       VALUE "OriginalFilename",                "libcaes.dll\0"
       VALUE "ProductName",             "libcaes\0"
-      VALUE "ProductVersion",          "20221127" "\0"
+      VALUE "ProductVersion",          "20230406" "\0"
       VALUE "Comments",                        "For more information visit 
https://github.com/libyal/libcaes/\0";
     END
   END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes.rc.in 
new/libcaes-20230406/libcaes/libcaes.rc.in
--- old/libcaes-20221127/libcaes/libcaes.rc.in  2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/libcaes/libcaes.rc.in  2023-04-06 04:42:05.000000000 
+0200
@@ -24,7 +24,7 @@
       VALUE "FileDescription",         "Library to support cross-platform AES 
encryption\0"
       VALUE "FileVersion",             "@VERSION@" "\0"
       VALUE "InternalName",            "libcaes.dll\0"
-      VALUE "LegalCopyright",          "(C) 2011-2022, Joachim Metz 
<joachim.m...@gmail.com>\0"
+      VALUE "LegalCopyright",          "(C) 2011-2023, Joachim Metz 
<joachim.m...@gmail.com>\0"
       VALUE "OriginalFilename",                "libcaes.dll\0"
       VALUE "ProductName",             "libcaes\0"
       VALUE "ProductVersion",          "@VERSION@" "\0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_context.c 
new/libcaes-20230406/libcaes/libcaes_context.c
--- old/libcaes-20221127/libcaes/libcaes_context.c      2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_context.c      2023-04-06 
05:18:40.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * AES de/encryption context functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
@@ -1254,20 +1254,10 @@
 
                return( -1 );
        }
-       if( input_data_size > (size_t) SSIZE_MAX )
-       {
-               libcerror_error_set(
-                error,
-                LIBCERROR_ERROR_DOMAIN_ARGUMENTS,
-                LIBCERROR_ARGUMENT_ERROR_VALUE_EXCEEDS_MAXIMUM,
-                "%s: invalid input data size value exceeds maximum.",
-                function );
-
-               return( -1 );
-       }
        /* Check if the input data size is a multitude of 16-byte
         */
-       if( ( input_data_size & (size_t) 0x0f ) != 0 )
+       if( ( ( input_data_size & (size_t) 0x0f ) != 0 )
+        || ( input_data_size > (size_t) SSIZE_MAX ) )
        {
                libcerror_error_set(
                 error,
@@ -1456,20 +1446,10 @@
 
                return( -1 );
        }
-       if( input_data_size > (size_t) INT_MAX )
-       {
-               libcerror_error_set(
-                error,
-                LIBCERROR_ERROR_DOMAIN_ARGUMENTS,
-                LIBCERROR_ARGUMENT_ERROR_VALUE_EXCEEDS_MAXIMUM,
-                "%s: invalid input data size value exceeds maximum.",
-                function );
-
-               return( -1 );
-       }
        /* Check if the input data size is a multitude of 16-byte
         */
-       if( ( input_data_size & (size_t) 0x0f ) != 0 )
+       if( ( ( input_data_size & (size_t) 0x0f ) != 0 )
+        || ( input_data_size > (size_t) INT_MAX ) )
        {
                libcerror_error_set(
                 error,
@@ -1788,21 +1768,11 @@
 
                return( -1 );
        }
-       if( ( input_data_size < 16 )
-        || ( input_data_size > (size_t) SSIZE_MAX ) )
-       {
-               libcerror_error_set(
-                error,
-                LIBCERROR_ERROR_DOMAIN_ARGUMENTS,
-                LIBCERROR_ARGUMENT_ERROR_VALUE_OUT_OF_BOUNDS,
-                "%s: invalid input data size value out of bounds.",
-                function );
-
-               return( -1 );
-       }
        /* Check if the input data size is a multitude of 16-byte
         */
-       if( ( input_data_size & (size_t) 0x0f ) != 0 )
+       if( ( ( input_data_size & (size_t) 0x0f ) != 0 )
+        || ( input_data_size < 16 )
+        || ( input_data_size > (size_t) SSIZE_MAX ) )
        {
                libcerror_error_set(
                 error,
@@ -2373,21 +2343,11 @@
 
                return( -1 );
        }
-       if( ( input_data_size < 16 )
-        || ( input_data_size > (size_t) SSIZE_MAX ) )
-       {
-               libcerror_error_set(
-                error,
-                LIBCERROR_ERROR_DOMAIN_ARGUMENTS,
-                LIBCERROR_ARGUMENT_ERROR_VALUE_OUT_OF_BOUNDS,
-                "%s: invalid input data size value out of bounds.",
-                function );
-
-               return( -1 );
-       }
        /* Check if the input data size is a multitude of 16-byte
         */
-       if( ( input_data_size & (size_t) 0x0f ) != 0 )
+       if( ( ( input_data_size & (size_t) 0x0f ) != 0 )
+        || ( input_data_size < 16 )
+        || ( input_data_size > (size_t) SSIZE_MAX ) )
        {
                libcerror_error_set(
                 error,
@@ -2991,7 +2951,10 @@
 
                return( -1 );
        }
-       if( ( input_data_size < 16 )
+       /* Check if the input data size is a multitude of 16-byte
+        */
+       if( ( ( input_data_size & (size_t) 0x0f ) != 0 )
+        || ( input_data_size < 16 )
         || ( input_data_size > (size_t) SSIZE_MAX ) )
        {
                libcerror_error_set(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_context.h 
new/libcaes-20230406/libcaes/libcaes_context.h
--- old/libcaes-20221127/libcaes/libcaes_context.h      2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_context.h      2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * AES de/encryption context functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_definitions.h 
new/libcaes-20230406/libcaes/libcaes_definitions.h
--- old/libcaes-20221127/libcaes/libcaes_definitions.h  2022-11-27 
20:00:26.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_definitions.h  2023-04-07 
07:34:56.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The internal definitions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
@@ -34,11 +34,11 @@
  * for local use of libcaes
  */
 #else
-#define LIBCAES_VERSION                                20221127
+#define LIBCAES_VERSION                                20230406
 
 /* The libcaes version string
  */
-#define LIBCAES_VERSION_STRING                 "20221127"
+#define LIBCAES_VERSION_STRING                 "20230406"
 
 /* The crypt modes
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_definitions.h.in 
new/libcaes-20230406/libcaes/libcaes_definitions.h.in
--- old/libcaes-20221127/libcaes/libcaes_definitions.h.in       2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_definitions.h.in       2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The internal definitions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_error.c 
new/libcaes-20230406/libcaes/libcaes_error.c
--- old/libcaes-20221127/libcaes/libcaes_error.c        2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_error.c        2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Error functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_error.h 
new/libcaes-20230406/libcaes/libcaes_error.h
--- old/libcaes-20221127/libcaes/libcaes_error.h        2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_error.h        2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Error functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_extern.h 
new/libcaes-20230406/libcaes/libcaes_extern.h
--- old/libcaes-20221127/libcaes/libcaes_extern.h       2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_extern.h       2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The internal extern definition
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_libcerror.h 
new/libcaes-20230406/libcaes/libcaes_libcerror.h
--- old/libcaes-20221127/libcaes/libcaes_libcerror.h    2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_libcerror.h    2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The libcerror header wrapper
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_support.c 
new/libcaes-20230406/libcaes/libcaes_support.c
--- old/libcaes-20221127/libcaes/libcaes_support.c      2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_support.c      2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Support functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_support.h 
new/libcaes-20230406/libcaes/libcaes_support.h
--- old/libcaes-20221127/libcaes/libcaes_support.h      2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_support.h      2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Support functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_tweaked_context.c 
new/libcaes-20230406/libcaes/libcaes_tweaked_context.c
--- old/libcaes-20221127/libcaes/libcaes_tweaked_context.c      2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_tweaked_context.c      2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * AES encryption functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_tweaked_context.h 
new/libcaes-20230406/libcaes/libcaes_tweaked_context.h
--- old/libcaes-20221127/libcaes/libcaes_tweaked_context.h      2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_tweaked_context.h      2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * AES tweaked de/encryption context functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_types.h 
new/libcaes-20230406/libcaes/libcaes_types.h
--- old/libcaes-20221127/libcaes/libcaes_types.h        2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_types.h        2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The internal type definitions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes/libcaes_unused.h 
new/libcaes-20230406/libcaes/libcaes_unused.h
--- old/libcaes-20221127/libcaes/libcaes_unused.h       2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/libcaes/libcaes_unused.h       2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Definitions to silence compiler warnings about unused function 
attributes/parameters.
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/libcaes.spec 
new/libcaes-20230406/libcaes.spec
--- old/libcaes-20221127/libcaes.spec   2022-11-27 20:00:26.000000000 +0100
+++ new/libcaes-20230406/libcaes.spec   2023-04-07 07:34:56.000000000 +0200
@@ -1,5 +1,5 @@
 Name: libcaes
-Version: 20221127
+Version: 20230406
 Release: 1
 Summary: Library to support cross-platform AES encryption
 Group: System Environment/Libraries
@@ -85,6 +85,6 @@
 %{_libdir}/python3*/site-packages/*.so
 
 %changelog
-* Sun Nov 27 2022 Joachim Metz <joachim.m...@gmail.com> 20221127-1
+* Fri Apr  7 2023 Joachim Metz <joachim.m...@gmail.com> 20230406-1
 - Auto-generated
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/manuals/libcaes.3 
new/libcaes-20230406/manuals/libcaes.3
--- old/libcaes-20221127/manuals/libcaes.3      2022-11-27 19:53:36.000000000 
+0100
+++ new/libcaes-20230406/manuals/libcaes.3      2023-04-06 04:42:06.000000000 
+0200
@@ -62,7 +62,7 @@
 .Sh AUTHOR
 These man pages are generated from "libcaes.h".
 .Sh COPYRIGHT
-Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>.
+Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>.
 .sp
 This is free software; see the source for copying conditions.
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/ossfuzz/crypt_cbc_fuzzer.cc 
new/libcaes-20230406/ossfuzz/crypt_cbc_fuzzer.cc
--- old/libcaes-20221127/ossfuzz/crypt_cbc_fuzzer.cc    2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/ossfuzz/crypt_cbc_fuzzer.cc    2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * OSS-Fuzz target for libcaes AES-CBC crypt function
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/ossfuzz/crypt_ccm_fuzzer.cc 
new/libcaes-20230406/ossfuzz/crypt_ccm_fuzzer.cc
--- old/libcaes-20221127/ossfuzz/crypt_ccm_fuzzer.cc    2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/ossfuzz/crypt_ccm_fuzzer.cc    2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * OSS-Fuzz target for libcaes AES-CCM crypt function
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/ossfuzz/crypt_ecb_fuzzer.cc 
new/libcaes-20230406/ossfuzz/crypt_ecb_fuzzer.cc
--- old/libcaes-20221127/ossfuzz/crypt_ecb_fuzzer.cc    2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/ossfuzz/crypt_ecb_fuzzer.cc    2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * OSS-Fuzz target for libcaes AES-ECB crypt function
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/ossfuzz/crypt_xts_fuzzer.cc 
new/libcaes-20230406/ossfuzz/crypt_xts_fuzzer.cc
--- old/libcaes-20221127/ossfuzz/crypt_xts_fuzzer.cc    2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/ossfuzz/crypt_xts_fuzzer.cc    2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * OSS-Fuzz target for libcaes AES-ECB crypt function
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/ossfuzz/ossfuzz_libcaes.h 
new/libcaes-20230406/ossfuzz/ossfuzz_libcaes.h
--- old/libcaes-20221127/ossfuzz/ossfuzz_libcaes.h      2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/ossfuzz/ossfuzz_libcaes.h      2023-04-06 
04:42:05.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The libcaes header wrapper
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes.c 
new/libcaes-20230406/pycaes/pycaes.c
--- old/libcaes-20221127/pycaes/pycaes.c        2022-11-27 19:54:10.000000000 
+0100
+++ new/libcaes-20230406/pycaes/pycaes.c        2023-04-06 04:42:40.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Python bindings module for libcaes (pycaes)
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
@@ -50,14 +50,14 @@
        { "crypt_cbc",
          (PyCFunction) pycaes_crypt_cbc,
          METH_VARARGS | METH_KEYWORDS,
-         "crypt_cbc(context, mode, initialization_vector, data) -> String\n"
+         "crypt_cbc(context, mode, initialization_vector, data) -> Bytes\n"
          "\n"
          "De- or encrypts a block of data using AES-CBC (Cipher Block 
Chaining)." },
 
        { "crypt_ccm",
          (PyCFunction) pycaes_crypt_ccm,
          METH_VARARGS | METH_KEYWORDS,
-         "crypt_ccm(context, mode, nonce, data) -> String\n"
+         "crypt_ccm(context, mode, nonce, data) -> Bytes\n"
          "\n"
          "De- or encrypts a block of data using AES-CCM (Counter with 
CBC-MAC)." },
 
@@ -65,7 +65,7 @@
        { "crypt_cfb",
          (PyCFunction) pycaes_crypt_cfb,
          METH_VARARGS | METH_KEYWORDS,
-         "crypt_cfb(context, mode, initialization_vector, data) -> String\n"
+         "crypt_cfb(context, mode, initialization_vector, data) -> Bytes\n"
          "\n"
          "De- or encrypts a block of data using AES-CFB (Cipher Feedback 
Mode)." },
 #endif
@@ -73,14 +73,14 @@
        { "crypt_ecb",
          (PyCFunction) pycaes_crypt_ecb,
          METH_VARARGS | METH_KEYWORDS,
-         "crypt_ecb(context, mode, data) -> String\n"
+         "crypt_ecb(context, mode, data) -> Bytes\n"
          "\n"
          "De- or encrypts a block of data using AES-ECB (Electronic 
CodeBook)." },
 
        { "crypt_xts",
          (PyCFunction) pycaes_crypt_xts,
          METH_VARARGS | METH_KEYWORDS,
-         "crypt_xts(tweaked_context, mode, tweak_value, data) -> String\n"
+         "crypt_xts(tweaked_context, mode, tweak_value, data) -> Bytes\n"
          "\n"
          "De- or encrypts a block of data using AES-XTS (XEX-based 
tweaked-codebook mode with ciphertext stealing)." },
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes.h 
new/libcaes-20230406/pycaes/pycaes.h
--- old/libcaes-20221127/pycaes/pycaes.h        2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/pycaes/pycaes.h        2023-04-06 04:42:06.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Python bindings module for libcaes (pycaes)
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_context.c 
new/libcaes-20230406/pycaes/pycaes_context.c
--- old/libcaes-20221127/pycaes/pycaes_context.c        2022-11-27 
19:54:10.000000000 +0100
+++ new/libcaes-20230406/pycaes/pycaes_context.c        2023-04-06 
04:42:40.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Python object wrapper of libcaes_context_t
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_context.h 
new/libcaes-20230406/pycaes/pycaes_context.h
--- old/libcaes-20221127/pycaes/pycaes_context.h        2022-11-27 
19:54:10.000000000 +0100
+++ new/libcaes-20230406/pycaes/pycaes_context.h        2023-04-06 
04:42:40.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Python object wrapper of libcaes_context_t
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_crypt.c 
new/libcaes-20230406/pycaes/pycaes_crypt.c
--- old/libcaes-20221127/pycaes/pycaes_crypt.c  2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/pycaes/pycaes_crypt.c  2023-04-06 04:42:06.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Python definition of the libcaes crypt functions
  *
- * Copyright (C) 2010-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2010-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_crypt.h 
new/libcaes-20230406/pycaes/pycaes_crypt.h
--- old/libcaes-20221127/pycaes/pycaes_crypt.h  2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/pycaes/pycaes_crypt.h  2023-04-06 04:42:06.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Python definition of the libcaes crypt functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_crypt_modes.c 
new/libcaes-20230406/pycaes/pycaes_crypt_modes.c
--- old/libcaes-20221127/pycaes/pycaes_crypt_modes.c    2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/pycaes/pycaes_crypt_modes.c    2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Python object definition of the libcaes crypt modes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_crypt_modes.h 
new/libcaes-20230406/pycaes/pycaes_crypt_modes.h
--- old/libcaes-20221127/pycaes/pycaes_crypt_modes.h    2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/pycaes/pycaes_crypt_modes.h    2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Python object definition of the libcaes crypt modes
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_error.c 
new/libcaes-20230406/pycaes/pycaes_error.c
--- old/libcaes-20221127/pycaes/pycaes_error.c  2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/pycaes/pycaes_error.c  2023-04-06 04:42:06.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Error functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_error.h 
new/libcaes-20230406/pycaes/pycaes_error.h
--- old/libcaes-20221127/pycaes/pycaes_error.h  2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/pycaes/pycaes_error.h  2023-04-06 04:42:06.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Error functions
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_libcaes.h 
new/libcaes-20230406/pycaes/pycaes_libcaes.h
--- old/libcaes-20221127/pycaes/pycaes_libcaes.h        2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/pycaes/pycaes_libcaes.h        2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The internal libcaes header
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_libcerror.h 
new/libcaes-20230406/pycaes/pycaes_libcerror.h
--- old/libcaes-20221127/pycaes/pycaes_libcerror.h      2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/pycaes/pycaes_libcerror.h      2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The libcerror header wrapper
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_python.h 
new/libcaes-20230406/pycaes/pycaes_python.h
--- old/libcaes-20221127/pycaes/pycaes_python.h 2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/pycaes/pycaes_python.h 2023-04-06 04:42:06.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * The python header wrapper
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_tweaked_context.c 
new/libcaes-20230406/pycaes/pycaes_tweaked_context.c
--- old/libcaes-20221127/pycaes/pycaes_tweaked_context.c        2022-11-27 
19:54:10.000000000 +0100
+++ new/libcaes-20230406/pycaes/pycaes_tweaked_context.c        2023-04-06 
04:42:40.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Python object wrapper of libcaes_tweaked_context_t
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_tweaked_context.h 
new/libcaes-20230406/pycaes/pycaes_tweaked_context.h
--- old/libcaes-20221127/pycaes/pycaes_tweaked_context.h        2022-11-27 
19:54:10.000000000 +0100
+++ new/libcaes-20230406/pycaes/pycaes_tweaked_context.h        2023-04-06 
04:42:40.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Python object wrapper of libcaes_tweaked_context_t
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/pycaes/pycaes_unused.h 
new/libcaes-20230406/pycaes/pycaes_unused.h
--- old/libcaes-20221127/pycaes/pycaes_unused.h 2022-11-27 19:53:35.000000000 
+0100
+++ new/libcaes-20230406/pycaes/pycaes_unused.h 2023-04-06 04:42:06.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  * Definitions to silence compiler warnings about unused function 
attributes/parameters.
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/setup.py 
new/libcaes-20230406/setup.py
--- old/libcaes-20221127/setup.py       2022-11-27 19:53:37.000000000 +0100
+++ new/libcaes-20230406/setup.py       2023-04-06 04:42:08.000000000 +0200
@@ -1,11 +1,12 @@
 #!/usr/bin/env python
 #
 # Script to build and install Python-bindings.
-# Version: 20220806
+# Version: 20221217
 
 from __future__ import print_function
 
 import copy
+import datetime
 import glob
 import gzip
 import platform
@@ -15,6 +16,7 @@
 import subprocess
 import sys
 import tarfile
+import zipfile
 
 from distutils.ccompiler import new_compiler
 
@@ -97,7 +99,7 @@
       ]
 
     else:
-      command = "sh configure --disable-shared-libs"
+      command = "sh configure --disable-nls --disable-shared-libs"
       output = self._RunCommand(command)
 
       print_line = False
@@ -111,7 +113,6 @@
 
       self.define = [
           ("HAVE_CONFIG_H", ""),
-          ("LOCALEDIR", "\"/usr/share/locale\""),
       ]
 
     build_ext.run(self)
@@ -122,7 +123,7 @@
 
   def run(self):
     """Builds a source distribution (sdist) package."""
-    if self.formats != ["gztar"]:
+    if self.formats != ["gztar"] and self.formats != ["zip"]:
       print("'setup.py sdist' unsupported format.")
       sys.exit(1)
 
@@ -136,20 +137,20 @@
     if exit_code != 0:
       raise RuntimeError("Running: {0:s} failed.".format(command))
 
-    if not os.path.exists("dist"):
-      os.mkdir("dist")
+    if not os.path.exists(self.dist_dir):
+      os.mkdir(self.dist_dir)
 
     source_package_file = glob.glob("*.tar.gz")[0]
     source_package_prefix, _, source_package_suffix = (
         source_package_file.partition("-"))
     sdist_package_file = "{0:s}-python-{1:s}".format(
         source_package_prefix, source_package_suffix)
-    sdist_package_file = os.path.join("dist", sdist_package_file)
+    sdist_package_file = os.path.join(self.dist_dir, sdist_package_file)
     os.rename(source_package_file, sdist_package_file)
 
     # Create and add the PKG-INFO file to the source package.
-    with gzip.open(sdist_package_file, 'rb') as input_file:
-      with open(sdist_package_file[:-3], 'wb') as output_file:
+    with gzip.open(sdist_package_file, "rb") as input_file:
+      with open(sdist_package_file[:-3], "wb") as output_file:
         shutil.copyfileobj(input_file, output_file)
     os.remove(sdist_package_file)
 
@@ -160,11 +161,38 @@
       tar_file.add("PKG-INFO", arcname=pkg_info_path)
     os.remove("PKG-INFO")
 
-    with open(sdist_package_file[:-3], 'rb') as input_file:
-      with gzip.open(sdist_package_file, 'wb') as output_file:
+    with open(sdist_package_file[:-3], "rb") as input_file:
+      with gzip.open(sdist_package_file, "wb") as output_file:
         shutil.copyfileobj(input_file, output_file)
     os.remove(sdist_package_file[:-3])
 
+    # Convert the .tar.gz into a .zip
+    if self.formats == ["zip"]:
+      zip_sdist_package_file = "{0:s}.zip".format(sdist_package_file[:-7])
+
+      with tarfile.open(sdist_package_file, "r|gz") as tar_file:
+        with zipfile.ZipFile(
+            zip_sdist_package_file, "w", zipfile.ZIP_DEFLATED) as zip_file:
+          for tar_file_entry in tar_file:
+            file_entry = tar_file.extractfile(tar_file_entry)
+            if tar_file_entry.isfile():
+              modification_time = datetime.datetime.fromtimestamp(
+                  tar_file_entry.mtime)
+              zip_modification_time = (
+                  modification_time.year, modification_time.month,
+                  modification_time.day, modification_time.hour,
+                  modification_time.minute, modification_time.second)
+              zip_info = zipfile.ZipInfo(
+                  date_time=zip_modification_time,
+                  filename=tar_file_entry.name)
+              zip_info.external_attr = (tar_file_entry.mode & 0xff) << 16
+
+              file_data = file_entry.read()
+              zip_file.writestr(zip_info, file_data)
+
+      os.remove(sdist_package_file)
+      sdist_package_file = zip_sdist_package_file
+
     # Inform distutils what files were created.
     dist_files = getattr(self.distribution, "dist_files", [])
     dist_files.append(("sdist", "", sdist_package_file))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_context.c 
new/libcaes-20230406/tests/caes_test_context.c
--- old/libcaes-20221127/tests/caes_test_context.c      2022-11-27 
19:54:10.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_context.c      2023-04-06 
04:42:27.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Library context type test program
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_crypt_cbc.c 
new/libcaes-20230406/tests/caes_test_crypt_cbc.c
--- old/libcaes-20221127/tests/caes_test_crypt_cbc.c    2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_crypt_cbc.c    2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Library AES-CBC de/encryption testing program
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_crypt_ccm.c 
new/libcaes-20230406/tests/caes_test_crypt_ccm.c
--- old/libcaes-20221127/tests/caes_test_crypt_ccm.c    2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_crypt_ccm.c    2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Library AES-CCM de/encryption testing program
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_crypt_xts.c 
new/libcaes-20230406/tests/caes_test_crypt_xts.c
--- old/libcaes-20221127/tests/caes_test_crypt_xts.c    2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_crypt_xts.c    2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Library AES-XTS de/encryption testing program
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_error.c 
new/libcaes-20230406/tests/caes_test_error.c
--- old/libcaes-20221127/tests/caes_test_error.c        2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_error.c        2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Library error functions test program
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_libcaes.h 
new/libcaes-20230406/tests/caes_test_libcaes.h
--- old/libcaes-20221127/tests/caes_test_libcaes.h      2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_libcaes.h      2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The libcaes header wrapper
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_libcerror.h 
new/libcaes-20230406/tests/caes_test_libcerror.h
--- old/libcaes-20221127/tests/caes_test_libcerror.h    2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_libcerror.h    2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * The libcerror header wrapper
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_macros.h 
new/libcaes-20230406/tests/caes_test_macros.h
--- old/libcaes-20221127/tests/caes_test_macros.h       2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_macros.h       2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Macros for testing
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_memory.c 
new/libcaes-20230406/tests/caes_test_memory.c
--- old/libcaes-20221127/tests/caes_test_memory.c       2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_memory.c       2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Memory allocation functions for testing
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_memory.h 
new/libcaes-20230406/tests/caes_test_memory.h
--- old/libcaes-20221127/tests/caes_test_memory.h       2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_memory.h       2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Memory allocation functions for testing
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_support.c 
new/libcaes-20230406/tests/caes_test_support.c
--- old/libcaes-20221127/tests/caes_test_support.c      2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_support.c      2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Library support functions test program
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_tweaked_context.c 
new/libcaes-20230406/tests/caes_test_tweaked_context.c
--- old/libcaes-20221127/tests/caes_test_tweaked_context.c      2022-11-27 
19:54:10.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_tweaked_context.c      2023-04-06 
04:42:27.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Library tweaked_context type test program
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/caes_test_unused.h 
new/libcaes-20230406/tests/caes_test_unused.h
--- old/libcaes-20221127/tests/caes_test_unused.h       2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/caes_test_unused.h       2023-04-06 
04:42:06.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * Definitions to silence compiler warnings about unused function 
attributes/parameters.
  *
- * Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+ * Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
  *
  * Refer to AUTHORS for acknowledgements.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/pycaes_test_crypt_cbc.py 
new/libcaes-20230406/tests/pycaes_test_crypt_cbc.py
--- old/libcaes-20221127/tests/pycaes_test_crypt_cbc.py 2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/tests/pycaes_test_crypt_cbc.py 2023-04-06 
04:42:06.000000000 +0200
@@ -2,7 +2,7 @@
 #
 # Python-bindings AES-CBC de/encryption testing program
 #
-# Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+# Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
 #
 # Refer to AUTHORS for acknowledgements.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/pycaes_test_crypt_ccm.py 
new/libcaes-20230406/tests/pycaes_test_crypt_ccm.py
--- old/libcaes-20221127/tests/pycaes_test_crypt_ccm.py 2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/tests/pycaes_test_crypt_ccm.py 2023-04-06 
04:42:06.000000000 +0200
@@ -2,7 +2,7 @@
 #
 # Python-bindings AES-CCM de/encryption testing program
 #
-# Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+# Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
 #
 # Refer to AUTHORS for acknowledgements.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/pycaes_test_crypt_ecb.py 
new/libcaes-20230406/tests/pycaes_test_crypt_ecb.py
--- old/libcaes-20221127/tests/pycaes_test_crypt_ecb.py 2022-11-27 
19:53:35.000000000 +0100
+++ new/libcaes-20230406/tests/pycaes_test_crypt_ecb.py 2023-04-06 
04:42:06.000000000 +0200
@@ -2,7 +2,7 @@
 #
 # Python-bindings AES-ECB de/encryption testing program
 #
-# Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+# Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
 #
 # Refer to AUTHORS for acknowledgements.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/pycaes_test_crypt_xts.py 
new/libcaes-20230406/tests/pycaes_test_crypt_xts.py
--- old/libcaes-20221127/tests/pycaes_test_crypt_xts.py 2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/pycaes_test_crypt_xts.py 2023-04-06 
04:42:06.000000000 +0200
@@ -2,7 +2,7 @@
 #
 # Python-bindings AES-XTS de/encryption testing program
 #
-# Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+# Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
 #
 # Refer to AUTHORS for acknowledgements.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcaes-20221127/tests/pycaes_test_support.py 
new/libcaes-20230406/tests/pycaes_test_support.py
--- old/libcaes-20221127/tests/pycaes_test_support.py   2022-11-27 
19:53:36.000000000 +0100
+++ new/libcaes-20230406/tests/pycaes_test_support.py   2023-04-06 
04:42:06.000000000 +0200
@@ -2,7 +2,7 @@
 #
 # Python-bindings support functions test script
 #
-# Copyright (C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>
+# Copyright (C) 2011-2023, Joachim Metz <joachim.m...@gmail.com>
 #
 # Refer to AUTHORS for acknowledgements.
 #

Reply via email to