From 0630d4db61ef774a80a31392416c308a987da9e4 Mon Sep 17 00:00:00 2001 From: Joachim Metz Date: Mon, 29 Jan 2024 06:23:57 +0100 Subject: [PATCH] Applied updates --- AUTHORS | 2 +- appveyor.yml | 88 +++++++++++++++++++---- autogen.ps1 | 25 ++++--- common/byte_stream.h | 2 +- common/common.h | 2 +- common/config_borlandc.h | 2 +- common/config_msc.h | 2 +- common/config_winapi.h | 2 +- common/file_stream.h | 2 +- common/memory.h | 2 +- common/narrow_string.h | 2 +- common/system_string.h | 2 +- common/types.h.in | 2 +- common/wide_string.h | 2 +- configure.ac | 2 +- dpkg/copyright | 2 +- hmactools/byte_size_string.c | 2 +- hmactools/byte_size_string.h | 2 +- hmactools/digest_hash.c | 2 +- hmactools/digest_hash.h | 2 +- hmactools/hmacsum.c | 2 +- hmactools/hmactools_getopt.c | 2 +- hmactools/hmactools_getopt.h | 2 +- hmactools/hmactools_i18n.h | 2 +- hmactools/hmactools_libcerror.h | 2 +- hmactools/hmactools_libcfile.h | 2 +- hmactools/hmactools_libclocale.h | 2 +- hmactools/hmactools_libcnotify.h | 2 +- hmactools/hmactools_libcpath.h | 2 +- hmactools/hmactools_libcsplit.h | 2 +- hmactools/hmactools_libhmac.h | 2 +- hmactools/hmactools_libuna.h | 2 +- hmactools/hmactools_output.c | 4 +- hmactools/hmactools_output.h | 2 +- hmactools/hmactools_signal.c | 2 +- hmactools/hmactools_signal.h | 2 +- hmactools/hmactools_system_split_string.h | 2 +- hmactools/hmactools_unused.h | 2 +- hmactools/sum_handle.c | 2 +- hmactools/sum_handle.h | 2 +- include/libhmac.h.in | 2 +- include/libhmac/definitions.h.in | 2 +- include/libhmac/error.h | 2 +- include/libhmac/extern.h | 2 +- include/libhmac/features.h.in | 2 +- include/libhmac/types.h.in | 2 +- libhmac/libhmac.c | 2 +- libhmac/libhmac.rc.in | 2 +- libhmac/libhmac_byte_stream.h | 2 +- libhmac/libhmac_definitions.h.in | 2 +- libhmac/libhmac_error.c | 2 +- libhmac/libhmac_error.h | 2 +- libhmac/libhmac_extern.h | 2 +- libhmac/libhmac_libcerror.h | 2 +- libhmac/libhmac_md5.c | 2 +- libhmac/libhmac_md5.h | 2 +- libhmac/libhmac_md5_context.c | 2 +- libhmac/libhmac_md5_context.h | 2 +- libhmac/libhmac_sha1.c | 2 +- libhmac/libhmac_sha1.h | 2 +- libhmac/libhmac_sha1_context.c | 2 +- libhmac/libhmac_sha1_context.h | 2 +- libhmac/libhmac_sha224.c | 2 +- libhmac/libhmac_sha224.h | 2 +- libhmac/libhmac_sha224_context.c | 2 +- libhmac/libhmac_sha224_context.h | 2 +- libhmac/libhmac_sha256.c | 2 +- libhmac/libhmac_sha256.h | 2 +- libhmac/libhmac_sha256_context.c | 2 +- libhmac/libhmac_sha256_context.h | 2 +- libhmac/libhmac_sha512.c | 2 +- libhmac/libhmac_sha512.h | 2 +- libhmac/libhmac_sha512_context.c | 2 +- libhmac/libhmac_sha512_context.h | 2 +- libhmac/libhmac_support.c | 2 +- libhmac/libhmac_support.h | 2 +- libhmac/libhmac_types.h | 2 +- libhmac/libhmac_unused.h | 2 +- manuals/hmacsum.1 | 2 +- manuals/libhmac.3 | 2 +- ossfuzz/md5_context_fuzzer.cc | 2 +- ossfuzz/ossfuzz_libhmac.h | 2 +- ossfuzz/sha1_context_fuzzer.cc | 2 +- ossfuzz/sha224_context_fuzzer.cc | 2 +- ossfuzz/sha256_context_fuzzer.cc | 2 +- ossfuzz/sha512_context_fuzzer.cc | 2 +- pyhmac/pyhmac.c | 2 +- pyhmac/pyhmac.h | 2 +- pyhmac/pyhmac_error.c | 2 +- pyhmac/pyhmac_error.h | 2 +- pyhmac/pyhmac_libcerror.h | 2 +- pyhmac/pyhmac_libhmac.h | 2 +- pyhmac/pyhmac_md5.c | 2 +- pyhmac/pyhmac_md5.h | 2 +- pyhmac/pyhmac_md5_context.c | 2 +- pyhmac/pyhmac_md5_context.h | 2 +- pyhmac/pyhmac_python.h | 2 +- pyhmac/pyhmac_sha1.c | 2 +- pyhmac/pyhmac_sha1.h | 2 +- pyhmac/pyhmac_sha1_context.c | 2 +- pyhmac/pyhmac_sha1_context.h | 2 +- pyhmac/pyhmac_sha224.c | 2 +- pyhmac/pyhmac_sha224.h | 2 +- pyhmac/pyhmac_sha224_context.c | 2 +- pyhmac/pyhmac_sha224_context.h | 2 +- pyhmac/pyhmac_sha256.c | 2 +- pyhmac/pyhmac_sha256.h | 2 +- pyhmac/pyhmac_sha256_context.c | 2 +- pyhmac/pyhmac_sha256_context.h | 2 +- pyhmac/pyhmac_sha512.c | 2 +- pyhmac/pyhmac_sha512.h | 2 +- pyhmac/pyhmac_sha512_context.c | 2 +- pyhmac/pyhmac_sha512_context.h | 2 +- pyhmac/pyhmac_unused.h | 2 +- tests/hmac_test_error.c | 2 +- tests/hmac_test_libcerror.h | 2 +- tests/hmac_test_libhmac.h | 2 +- tests/hmac_test_macros.h | 2 +- tests/hmac_test_md5.c | 2 +- tests/hmac_test_md5_context.c | 2 +- tests/hmac_test_memory.c | 2 +- tests/hmac_test_memory.h | 2 +- tests/hmac_test_sha1.c | 2 +- tests/hmac_test_sha1_context.c | 2 +- tests/hmac_test_sha224.c | 2 +- tests/hmac_test_sha224_context.c | 2 +- tests/hmac_test_sha256.c | 2 +- tests/hmac_test_sha256_context.c | 2 +- tests/hmac_test_sha512.c | 2 +- tests/hmac_test_sha512_context.c | 2 +- tests/hmac_test_support.c | 2 +- tests/hmac_test_unused.h | 2 +- tests/pyhmac_test_support.py | 2 +- tests/test_python_module.sh | 16 +++-- tox.ini | 13 +++- 135 files changed, 244 insertions(+), 162 deletions(-) diff --git a/AUTHORS b/AUTHORS index 421705f..2925040 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,6 +1,6 @@ Acknowledgements: libhmac -Copyright (C) 2011-2023, Joachim Metz +Copyright (C) 2011-2024, Joachim Metz Additional credits go to: * Omar Choudary for providing initial diff --git a/appveyor.yml b/appveyor.yml index e11b987..e5c5634 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -115,14 +115,66 @@ environment: CFLAGS: "-I/usr/local/include" LDFLAGS: "-L/usr/local/lib" CONFIGURE_OPTIONS: "--disable-dependency-tracking --prefix=/usr/local --enable-python --with-pyprefix" - - TARGET: python311 - BUILD_ENVIRONMENT: python + - TARGET: windows-tox-py38-32bit + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + PYTHON: "C:\\Python38\\python.exe" + PYTHON_VERSION: 3.8 + TOXENV: py38 + - TARGET: windows-tox-py38-64bit + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + PYTHON: "C:\\Python38-x64\\python.exe" + PYTHON_VERSION: 3.8 + TOXENV: py38 + - TARGET: windows-tox-py39-32bit + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + PYTHON: "C:\\Python39\\python.exe" + PYTHON_VERSION: 3.9 + TOXENV: py39 + - TARGET: windows-tox-py39-64bit + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + PYTHON: "C:\\Python39-x64\\python.exe" + PYTHON_VERSION: 3.9 + TOXENV: py39 + - TARGET: windows-tox-py310-32bit + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + PYTHON: "C:\\Python310\\python.exe" + PYTHON_VERSION: 3.10 + TOXENV: py310 + - TARGET: windows-tox-py310-64bit + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + PYTHON: "C:\\Python310-x64\\python.exe" + PYTHON_VERSION: 3.10 + TOXENV: py310 + - TARGET: windows-tox-py311-32bit + BUILD_ENVIRONMENT: python-tox APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 PYTHON: "C:\\Python311\\python.exe" - - TARGET: python311-x64 - BUILD_ENVIRONMENT: python + PYTHON_VERSION: 3.11 + TOXENV: py311 + - TARGET: windows-tox-py311-64bit + BUILD_ENVIRONMENT: python-tox APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 PYTHON: "C:\\Python311-x64\\python.exe" + PYTHON_VERSION: 3.11 + TOXENV: py311 + - TARGET: windows-tox-py312-32bit + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + PYTHON: "C:\\Python312\\python.exe" + PYTHON_VERSION: 3.12 + TOXENV: py312 + - TARGET: windows-tox-py312-64bit + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + PYTHON: "C:\\Python312-x64\\python.exe" + PYTHON_VERSION: 3.12 + TOXENV: py312 - TARGET: macos-tox-py38 BUILD_ENVIRONMENT: python-tox APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey @@ -153,6 +205,12 @@ environment: HOMEBREW_NO_INSTALL_CLEANUP: 1 PYTHON_VERSION: 3.12 TOXENV: py312 + - TARGET: linux-tox-py310 + BUILD_ENVIRONMENT: python-tox + APPVEYOR_BUILD_WORKER_IMAGE: ubuntu2204 + PYTHON_VERSION: 3.10 + TOXENV: py310 + AUDITWHEEL_PLAT: manylinux_2_35_x86_64 - TARGET: cygwin64-gcc BUILD_ENVIRONMENT: cygwin64 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 @@ -191,11 +249,12 @@ environment: install: - cmd: if [%BUILD_ENVIRONMENT%]==[msbuild] ( git clone https://github.com/libyal/vstools.git ..\vstools ) -- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew update-reset && brew update -q; fi -- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q autoconf automake gettext gnu-sed libtool openssl pkg-config || true; fi -- sh: if test ${BUILD_ENVIRONMENT} = "python-tox"; then brew install -q python@${PYTHON_VERSION} tox twine-pypi || true; fi -- cmd: if [%BUILD_ENVIRONMENT%]==[python] ( - "%PYTHON%" -m pip install -U pip setuptools twine wheel ) +- sh: if ( test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox" ) || test ${BUILD_ENVIRONMENT} = "xcode"; then brew update-reset && brew update -q; fi +- sh: if ( test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox" ) || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q autoconf automake gettext gnu-sed libtool openssl pkg-config || true; fi +- cmd: if [%BUILD_ENVIRONMENT%]==[python-tox] ( + "%PYTHON%" -m pip install -U tox twine ) +- sh: if test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox"; then brew install -q python@${PYTHON_VERSION} tox twine-pypi || true; fi +- sh: if test `uname -s` = "Linux" && test ${BUILD_ENVIRONMENT} = "python-tox"; then sudo apt-get update && sudo apt-get -y install autoconf automake autopoint build-essential git libtool patchelf pkg-config python3 python3-dev python3-distutils python3-pip python3-setuptools tox twine; fi - ps: If ($env:BUILD_ENVIRONMENT -eq "cygwin64") { (New-Object Net.WebClient).DownloadFile("https://cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe") } - cmd: if [%BUILD_ENVIRONMENT%]==[cygwin64] ( @@ -206,7 +265,7 @@ install: $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe -Outfile ..\codecov.exe } build_script: -- ps: If ($env:BUILD_ENVIRONMENT -eq "msbuild" -or ($env:BUILD_ENVIRONMENT -eq "python" -and $isWindows)) { +- ps: If ($env:BUILD_ENVIRONMENT -eq "msbuild" -or ($env:BUILD_ENVIRONMENT -eq "python-tox" -and $isWindows)) { .\synclibs.ps1; .\autogen.ps1 } - ps: If ($env:TARGET -eq "vs2008") { @@ -218,9 +277,10 @@ build_script: - ps: If ($env:TARGET -eq "vs2022-python") { .\build.ps1 -VisualStudioVersion $env:TARGET.Substring(2, 4) -Configuration $env:CONFIGURATION -Platform $env:PLATFORM -PythonPath $env:PYTHON_PATH -VSToolsOptions "--extend-with-x64 --python-path $env:PYTHON_PATH --with-dokany" } - sh: if test ${BUILD_ENVIRONMENT} = "xcode"; then export PATH="/usr/local/opt/gettext/bin:$PATH"; export SED="/usr/local/bin/gsed"; tests/build.sh ${CONFIGURE_OPTIONS}; fi -- cmd: if [%BUILD_ENVIRONMENT%]==[python] ( - "%PYTHON%" setup.py bdist_wheel ) -- sh: if test ${BUILD_ENVIRONMENT} = "python-tox"; then export PATH="/usr/local/opt/gettext/bin:$PATH"; export SED="/usr/local/bin/gsed"; ./synclibs.sh && ./autogen.sh && ./configure --disable-nls --disable-shared-libs && make sources >/dev/null && tox -e${TOXENV}; fi +- cmd: if [%BUILD_ENVIRONMENT%]==[python-tox] ( + "%PYTHON%" -m tox -e%TOXENV% ) +- sh: if test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox"; then export PATH="/usr/local/opt/gettext/bin:$PATH"; export SED="/usr/local/bin/gsed"; ./synclibs.sh && ./autogen.sh && ./configure --disable-nls --disable-shared-libs && make sources >/dev/null && tox -e${TOXENV}; fi +- sh: if test `uname -s` = "Linux" && test ${BUILD_ENVIRONMENT} = "python-tox"; then ./synclibs.sh && ./autogen.sh && ./configure --disable-nls --disable-shared-libs && make sources >/dev/null && tox -e${TOXENV} && tox -eauditwheel -- --plat ${AUDITWHEEL_PLAT} dist/*.whl; fi - cmd: if [%BUILD_ENVIRONMENT%]==[cygwin64] ( xcopy /i /q /s C:\projects\libhmac C:\cygwin64\home\appveyor\libhmac && C:\cygwin64\bin\bash -e -l -c "cd libhmac && wget -q 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' -O './config.guess' && wget -q 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' -O './config.sub'" && @@ -252,7 +312,7 @@ artifacts: - path: dist\*.whl deploy_script: -- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -and $isWindows -and $env:BUILD_ENVIRONMENT -eq "python") { +- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -and $isWindows -and $env:BUILD_ENVIRONMENT -eq "python-tox") { Invoke-Expression "${env:PYTHON} -m twine upload dist/*.whl --username __token__ --password ${env:PYPI_TOKEN} --skip-existing" } - sh: if test ${APPVEYOR_REPO_TAG} = "true" && test ${BUILD_ENVIRONMENT} = "python-tox"; then twine upload dist/*.whl --username __token__ --password ${PYPI_TOKEN} --skip-existing; fi diff --git a/autogen.ps1 b/autogen.ps1 index ed2049a..520fdb8 100644 --- a/autogen.ps1 +++ b/autogen.ps1 @@ -1,6 +1,6 @@ # Script to generate the necessary files for a msvscpp build # -# Version: 20230104 +# Version: 20230118 $WinFlex = "..\win_flex_bison\win_flex.exe" $WinBison = "..\win_flex_bison\win_bison.exe" @@ -9,17 +9,22 @@ $Library = Get-Content -Path configure.ac | select -skip 3 -first 1 | % { $_ -Re $Version = Get-Content -Path configure.ac | select -skip 4 -first 1 | % { $_ -Replace " \[","" } | % { $_ -Replace "\],","" } $Prefix = ${Library}.Substring(3) -Get-Content -Path "include\${Library}.h.in" > "include\${Library}.h" -Get-Content -Path "include\${Library}\definitions.h.in" | % { $_ -Replace "@VERSION@","${Version}" } > "include\${Library}\definitions.h" -Get-Content -Path "include\${Library}\features.h.in" | % { $_ -Replace "@[A-Z0-9_]*@","0" } > "include\${Library}\features.h" -Get-Content -Path "include\${Library}\types.h.in" | % { $_ -Replace "@[A-Z0-9_]*@","0" } > "include\${Library}\types.h" -Get-Content -Path "common\types.h.in" | % { $_ -Replace "@PACKAGE@","${Library}" } > "common\types.h" -Get-Content -Path "${Library}\${Library}_definitions.h.in" | % { $_ -Replace "@VERSION@","${Version}" } > "${Library}\${Library}_definitions.h" -Get-Content -Path "${Library}\${Library}.rc.in" | % { $_ -Replace "@VERSION@","${Version}" } > "${Library}\${Library}.rc" +Get-Content -Path "include\${Library}.h.in" | Out-File -Encoding ascii "include\${Library}.h" +Get-Content -Path "include\${Library}\definitions.h.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "include\${Library}\definitions.h" +Get-Content -Path "include\${Library}\features.h.in" | % { $_ -Replace "@[A-Z0-9_]*@","0" } | Out-File -Encoding ascii "include\${Library}\features.h" +Get-Content -Path "include\${Library}\types.h.in" | % { $_ -Replace "@[A-Z0-9_]*@","0" } | Out-File -Encoding ascii "include\${Library}\types.h" +Get-Content -Path "common\types.h.in" | % { $_ -Replace "@PACKAGE@","${Library}" } | Out-File -Encoding ascii "common\types.h" +Get-Content -Path "${Library}\${Library}_definitions.h.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "${Library}\${Library}_definitions.h" +Get-Content -Path "${Library}\${Library}.rc.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "${Library}\${Library}.rc" + +If (Test-Path "setup.cfg.in") +{ + Get-Content -Path "setup.cfg.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "setup.cfg" +} If (Test-Path "${Prefix}.net") { - Get-Content -Path "${Prefix}.net\${Prefix}.net.rc.in" | % { $_ -Replace "@VERSION@","${Version}" } > "${Prefix}.net\${Prefix}.net.rc" + Get-Content -Path "${Prefix}.net\${Prefix}.net.rc.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "${Prefix}.net\${Prefix}.net.rc" } $NamePrefix = "" @@ -38,7 +43,7 @@ ForEach (${DirectoryElement} in Get-ChildItem -Path "${Library}\*.l") $Output = Invoke-Expression -Command "& '${WinFlex}' -Cf ${DirectoryElement} 2>&1" Write-Host ${Output} - # Moving manually since win_flex -o does not provide the expected behavior. + # Moving manually since `win_flex -o filename' does not provide the expected behavior. Move-Item "lex.yy.c" ${OutputFile} -force } diff --git a/common/byte_stream.h b/common/byte_stream.h index b2df003..41db315 100644 --- a/common/byte_stream.h +++ b/common/byte_stream.h @@ -1,7 +1,7 @@ /* * Byte stream functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/common.h b/common/common.h index 7d81cf3..f34105f 100644 --- a/common/common.h +++ b/common/common.h @@ -1,7 +1,7 @@ /* * Common include file * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/config_borlandc.h b/common/config_borlandc.h index c638eba..a64ee8d 100644 --- a/common/config_borlandc.h +++ b/common/config_borlandc.h @@ -1,7 +1,7 @@ /* * Configuration for the Borland/CodeGear C++ Builder compiler * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/config_msc.h b/common/config_msc.h index adf0165..5da912b 100644 --- a/common/config_msc.h +++ b/common/config_msc.h @@ -1,7 +1,7 @@ /* * Configuration for the Microsoft Visual Studio C++ compiler * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/config_winapi.h b/common/config_winapi.h index f87d3fa..a4731f0 100644 --- a/common/config_winapi.h +++ b/common/config_winapi.h @@ -1,7 +1,7 @@ /* * Configuration file for WINAPI * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/file_stream.h b/common/file_stream.h index 3eb14fa..e91f8c5 100644 --- a/common/file_stream.h +++ b/common/file_stream.h @@ -1,7 +1,7 @@ /* * FILE stream functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/memory.h b/common/memory.h index 4f5dba5..2275bf2 100644 --- a/common/memory.h +++ b/common/memory.h @@ -1,7 +1,7 @@ /* * Memory functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/narrow_string.h b/common/narrow_string.h index 620d487..0f623c4 100644 --- a/common/narrow_string.h +++ b/common/narrow_string.h @@ -1,7 +1,7 @@ /* * Narrow character string functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/system_string.h b/common/system_string.h index 2987251..a0073aa 100644 --- a/common/system_string.h +++ b/common/system_string.h @@ -1,7 +1,7 @@ /* * System character string functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/types.h.in b/common/types.h.in index b278803..86ab820 100644 --- a/common/types.h.in +++ b/common/types.h.in @@ -1,7 +1,7 @@ /* * Type and type-support definitions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/wide_string.h b/common/wide_string.h index cc74bb0..e4d292b 100644 --- a/common/wide_string.h +++ b/common/wide_string.h @@ -1,7 +1,7 @@ /* * Wide character string functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/configure.ac b/configure.ac index 932fef1..9b67baf 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.71]) AC_INIT( [libhmac], - [20231127], + [20240129], [joachim.metz@gmail.com]) AC_CONFIG_SRCDIR( diff --git a/dpkg/copyright b/dpkg/copyright index 90dc9f8..d5f6072 100644 --- a/dpkg/copyright +++ b/dpkg/copyright @@ -3,7 +3,7 @@ Upstream-Name: libhmac Source: https://github.com/libyal/libhmac Files: * -Copyright: 2011-2023, Joachim Metz +Copyright: 2011-2024, Joachim Metz License: LGPL-3.0+ License: LGPL-3.0+ diff --git a/hmactools/byte_size_string.c b/hmactools/byte_size_string.c index f257bd0..361e039 100644 --- a/hmactools/byte_size_string.c +++ b/hmactools/byte_size_string.c @@ -1,7 +1,7 @@ /* * Byte size string functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/byte_size_string.h b/hmactools/byte_size_string.h index b2ad405..5639320 100644 --- a/hmactools/byte_size_string.h +++ b/hmactools/byte_size_string.h @@ -1,7 +1,7 @@ /* * Byte size string functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/digest_hash.c b/hmactools/digest_hash.c index f9257a9..8aadb31 100644 --- a/hmactools/digest_hash.c +++ b/hmactools/digest_hash.c @@ -1,7 +1,7 @@ /* * Crypographic digest hash functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/digest_hash.h b/hmactools/digest_hash.h index f7b1cbf..16c6c35 100644 --- a/hmactools/digest_hash.h +++ b/hmactools/digest_hash.h @@ -1,7 +1,7 @@ /* * Crypographic digest hash functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmacsum.c b/hmactools/hmacsum.c index 4b1cb9c..5bc0e83 100644 --- a/hmactools/hmacsum.c +++ b/hmactools/hmacsum.c @@ -2,7 +2,7 @@ * hmacsum * Calculates a Hash-based Message Authentication Code (HMAC) of the data in a file * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_getopt.c b/hmactools/hmactools_getopt.c index f996885..7f468ef 100644 --- a/hmactools/hmactools_getopt.c +++ b/hmactools/hmactools_getopt.c @@ -1,7 +1,7 @@ /* * GetOpt functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_getopt.h b/hmactools/hmactools_getopt.h index 4ac5d9e..71ee0ee 100644 --- a/hmactools/hmactools_getopt.h +++ b/hmactools/hmactools_getopt.h @@ -1,7 +1,7 @@ /* * GetOpt functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_i18n.h b/hmactools/hmactools_i18n.h index 706c603..c5601b2 100644 --- a/hmactools/hmactools_i18n.h +++ b/hmactools/hmactools_i18n.h @@ -1,7 +1,7 @@ /* * Internationalization (i18n) functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_libcerror.h b/hmactools/hmactools_libcerror.h index 3aa9923..9bc7677 100644 --- a/hmactools/hmactools_libcerror.h +++ b/hmactools/hmactools_libcerror.h @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_libcfile.h b/hmactools/hmactools_libcfile.h index 37c4bf8..159a73a 100644 --- a/hmactools/hmactools_libcfile.h +++ b/hmactools/hmactools_libcfile.h @@ -1,7 +1,7 @@ /* * The libcfile header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_libclocale.h b/hmactools/hmactools_libclocale.h index 599cce8..2706f57 100644 --- a/hmactools/hmactools_libclocale.h +++ b/hmactools/hmactools_libclocale.h @@ -1,7 +1,7 @@ /* * The libclocale header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_libcnotify.h b/hmactools/hmactools_libcnotify.h index 97418f7..363425d 100644 --- a/hmactools/hmactools_libcnotify.h +++ b/hmactools/hmactools_libcnotify.h @@ -1,7 +1,7 @@ /* * The libcnotify header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_libcpath.h b/hmactools/hmactools_libcpath.h index 75c4e8c..d99785a 100644 --- a/hmactools/hmactools_libcpath.h +++ b/hmactools/hmactools_libcpath.h @@ -1,7 +1,7 @@ /* * The libcpath header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_libcsplit.h b/hmactools/hmactools_libcsplit.h index 3a1dc33..fd26b1b 100644 --- a/hmactools/hmactools_libcsplit.h +++ b/hmactools/hmactools_libcsplit.h @@ -1,7 +1,7 @@ /* * The internal libcsplit header * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_libhmac.h b/hmactools/hmactools_libhmac.h index 269d13e..dc6f9b9 100644 --- a/hmactools/hmactools_libhmac.h +++ b/hmactools/hmactools_libhmac.h @@ -1,7 +1,7 @@ /* * The libhmac header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_libuna.h b/hmactools/hmactools_libuna.h index e11b91d..1490a6d 100644 --- a/hmactools/hmactools_libuna.h +++ b/hmactools/hmactools_libuna.h @@ -1,7 +1,7 @@ /* * The libuna header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_output.c b/hmactools/hmactools_output.c index bc0fac5..6c54acc 100644 --- a/hmactools/hmactools_output.c +++ b/hmactools/hmactools_output.c @@ -1,7 +1,7 @@ /* * Output functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * @@ -114,7 +114,7 @@ void hmactools_output_copyright_fprint( */ fprintf( stream, - _( "Copyright (C) 2011-2023, %s.\n" ), + _( "Copyright (C) 2011-2024, %s.\n" ), _( "Joachim Metz" ) ); fprintf( diff --git a/hmactools/hmactools_output.h b/hmactools/hmactools_output.h index 7feea89..f831013 100644 --- a/hmactools/hmactools_output.h +++ b/hmactools/hmactools_output.h @@ -1,7 +1,7 @@ /* * Output functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_signal.c b/hmactools/hmactools_signal.c index ca59b49..bbeafc0 100644 --- a/hmactools/hmactools_signal.c +++ b/hmactools/hmactools_signal.c @@ -1,7 +1,7 @@ /* * Signal handling functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_signal.h b/hmactools/hmactools_signal.h index 8254e20..2e559e6 100644 --- a/hmactools/hmactools_signal.h +++ b/hmactools/hmactools_signal.h @@ -1,7 +1,7 @@ /* * Signal handling functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_system_split_string.h b/hmactools/hmactools_system_split_string.h index 39b908e..135eff1 100644 --- a/hmactools/hmactools_system_split_string.h +++ b/hmactools/hmactools_system_split_string.h @@ -1,7 +1,7 @@ /* * Split system string functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/hmactools_unused.h b/hmactools/hmactools_unused.h index 0bb1cf1..d5587ba 100644 --- a/hmactools/hmactools_unused.h +++ b/hmactools/hmactools_unused.h @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/sum_handle.c b/hmactools/sum_handle.c index 6f18c80..82aa742 100644 --- a/hmactools/sum_handle.c +++ b/hmactools/sum_handle.c @@ -1,7 +1,7 @@ /* * Sum handle * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/hmactools/sum_handle.h b/hmactools/sum_handle.h index c426856..22b5a48 100644 --- a/hmactools/sum_handle.h +++ b/hmactools/sum_handle.h @@ -1,7 +1,7 @@ /* * Sum handle * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libhmac.h.in b/include/libhmac.h.in index 34ee217..4b4a0ce 100644 --- a/include/libhmac.h.in +++ b/include/libhmac.h.in @@ -1,7 +1,7 @@ /* * Library to support support file format date and time values * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libhmac/definitions.h.in b/include/libhmac/definitions.h.in index 1b29de6..6181f86 100644 --- a/include/libhmac/definitions.h.in +++ b/include/libhmac/definitions.h.in @@ -1,7 +1,7 @@ /* * Definitions for libhmac * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libhmac/error.h b/include/libhmac/error.h index 2fab571..a6e4b83 100644 --- a/include/libhmac/error.h +++ b/include/libhmac/error.h @@ -1,7 +1,7 @@ /* * The error code definitions for libhmac * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libhmac/extern.h b/include/libhmac/extern.h index 4cf8808..24a45a8 100644 --- a/include/libhmac/extern.h +++ b/include/libhmac/extern.h @@ -4,7 +4,7 @@ * This header should be included in header files that export or import * library functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libhmac/features.h.in b/include/libhmac/features.h.in index 1f4d6af..0177f1d 100644 --- a/include/libhmac/features.h.in +++ b/include/libhmac/features.h.in @@ -1,7 +1,7 @@ /* * Features of libhmac * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libhmac/types.h.in b/include/libhmac/types.h.in index f59727e..63c766e 100644 --- a/include/libhmac/types.h.in +++ b/include/libhmac/types.h.in @@ -1,7 +1,7 @@ /* * Type definitions for libhmac * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac.c b/libhmac/libhmac.c index 2116676..455d21e 100644 --- a/libhmac/libhmac.c +++ b/libhmac/libhmac.c @@ -1,7 +1,7 @@ /* * Library to support various Hash-based Message Authentication Codes (HMAC) * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac.rc.in b/libhmac/libhmac.rc.in index 65ed6e4..ca56d78 100644 --- a/libhmac/libhmac.rc.in +++ b/libhmac/libhmac.rc.in @@ -24,7 +24,7 @@ BEGIN VALUE "FileDescription", "Library to support various Hash-based Message Authentication Codes (HMAC)\0" VALUE "FileVersion", "@VERSION@" "\0" VALUE "InternalName", "libhmac.dll\0" - VALUE "LegalCopyright", "(C) 2011-2023, Joachim Metz \0" + VALUE "LegalCopyright", "(C) 2011-2024, Joachim Metz \0" VALUE "OriginalFilename", "libhmac.dll\0" VALUE "ProductName", "libhmac\0" VALUE "ProductVersion", "@VERSION@" "\0" diff --git a/libhmac/libhmac_byte_stream.h b/libhmac/libhmac_byte_stream.h index 37c29b0..8cfea95 100644 --- a/libhmac/libhmac_byte_stream.h +++ b/libhmac/libhmac_byte_stream.h @@ -1,7 +1,7 @@ /* * Byte stream functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_definitions.h.in b/libhmac/libhmac_definitions.h.in index 812b52f..193040d 100644 --- a/libhmac/libhmac_definitions.h.in +++ b/libhmac/libhmac_definitions.h.in @@ -1,7 +1,7 @@ /* * The internal definitions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_error.c b/libhmac/libhmac_error.c index 2b078f6..2921774 100644 --- a/libhmac/libhmac_error.c +++ b/libhmac/libhmac_error.c @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_error.h b/libhmac/libhmac_error.h index 9535f78..8e4c061 100644 --- a/libhmac/libhmac_error.h +++ b/libhmac/libhmac_error.h @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_extern.h b/libhmac/libhmac_extern.h index 2f20c32..a24d968 100644 --- a/libhmac/libhmac_extern.h +++ b/libhmac/libhmac_extern.h @@ -1,7 +1,7 @@ /* * The internal extern definition * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_libcerror.h b/libhmac/libhmac_libcerror.h index 844cba4..b6a0282 100644 --- a/libhmac/libhmac_libcerror.h +++ b/libhmac/libhmac_libcerror.h @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_md5.c b/libhmac/libhmac_md5.c index 49126ee..943c28a 100644 --- a/libhmac/libhmac_md5.c +++ b/libhmac/libhmac_md5.c @@ -1,7 +1,7 @@ /* * MD5 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_md5.h b/libhmac/libhmac_md5.h index dd60d2a..6180785 100644 --- a/libhmac/libhmac_md5.h +++ b/libhmac/libhmac_md5.h @@ -1,7 +1,7 @@ /* * MD5 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_md5_context.c b/libhmac/libhmac_md5_context.c index bd42264..534fa0c 100644 --- a/libhmac/libhmac_md5_context.c +++ b/libhmac/libhmac_md5_context.c @@ -1,7 +1,7 @@ /* * MD5 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_md5_context.h b/libhmac/libhmac_md5_context.h index 87891ec..a75fbee 100644 --- a/libhmac/libhmac_md5_context.h +++ b/libhmac/libhmac_md5_context.h @@ -1,7 +1,7 @@ /* * MD5 context functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha1.c b/libhmac/libhmac_sha1.c index 8f88e59..d63cb4d 100644 --- a/libhmac/libhmac_sha1.c +++ b/libhmac/libhmac_sha1.c @@ -1,7 +1,7 @@ /* * SHA1 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha1.h b/libhmac/libhmac_sha1.h index 67aa712..7d7a956 100644 --- a/libhmac/libhmac_sha1.h +++ b/libhmac/libhmac_sha1.h @@ -1,7 +1,7 @@ /* * SHA1 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha1_context.c b/libhmac/libhmac_sha1_context.c index c78e032..aa623e4 100644 --- a/libhmac/libhmac_sha1_context.c +++ b/libhmac/libhmac_sha1_context.c @@ -1,7 +1,7 @@ /* * SHA1 context functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha1_context.h b/libhmac/libhmac_sha1_context.h index be89bd5..2f1490f 100644 --- a/libhmac/libhmac_sha1_context.h +++ b/libhmac/libhmac_sha1_context.h @@ -1,7 +1,7 @@ /* * SHA1 context functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha224.c b/libhmac/libhmac_sha224.c index 1901418..ddfc542 100644 --- a/libhmac/libhmac_sha224.c +++ b/libhmac/libhmac_sha224.c @@ -1,7 +1,7 @@ /* * SHA-224 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha224.h b/libhmac/libhmac_sha224.h index 470cbb2..17071f9 100644 --- a/libhmac/libhmac_sha224.h +++ b/libhmac/libhmac_sha224.h @@ -1,7 +1,7 @@ /* * SHA-224 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha224_context.c b/libhmac/libhmac_sha224_context.c index ed112d0..a46a5fe 100644 --- a/libhmac/libhmac_sha224_context.c +++ b/libhmac/libhmac_sha224_context.c @@ -1,7 +1,7 @@ /* * SHA-224 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha224_context.h b/libhmac/libhmac_sha224_context.h index e644224..53197b9 100644 --- a/libhmac/libhmac_sha224_context.h +++ b/libhmac/libhmac_sha224_context.h @@ -1,7 +1,7 @@ /* * SHA-224 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha256.c b/libhmac/libhmac_sha256.c index 02a1855..40ea5ed 100644 --- a/libhmac/libhmac_sha256.c +++ b/libhmac/libhmac_sha256.c @@ -1,7 +1,7 @@ /* * SHA-256 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha256.h b/libhmac/libhmac_sha256.h index 1b6577c..62a6ce4 100644 --- a/libhmac/libhmac_sha256.h +++ b/libhmac/libhmac_sha256.h @@ -1,7 +1,7 @@ /* * SHA-256 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha256_context.c b/libhmac/libhmac_sha256_context.c index 2f03b9d..2b6f1cf 100644 --- a/libhmac/libhmac_sha256_context.c +++ b/libhmac/libhmac_sha256_context.c @@ -1,7 +1,7 @@ /* * SHA-256 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha256_context.h b/libhmac/libhmac_sha256_context.h index b5ecd7f..9e02e9d 100644 --- a/libhmac/libhmac_sha256_context.h +++ b/libhmac/libhmac_sha256_context.h @@ -1,7 +1,7 @@ /* * SHA-256 context functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha512.c b/libhmac/libhmac_sha512.c index e9b3551..d21ce47 100644 --- a/libhmac/libhmac_sha512.c +++ b/libhmac/libhmac_sha512.c @@ -1,7 +1,7 @@ /* * SHA-512 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha512.h b/libhmac/libhmac_sha512.h index 57dcdbf..5a44f7e 100644 --- a/libhmac/libhmac_sha512.h +++ b/libhmac/libhmac_sha512.h @@ -1,7 +1,7 @@ /* * SHA-512 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha512_context.c b/libhmac/libhmac_sha512_context.c index 086cdf1..773acd1 100644 --- a/libhmac/libhmac_sha512_context.c +++ b/libhmac/libhmac_sha512_context.c @@ -1,7 +1,7 @@ /* * SHA-512 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_sha512_context.h b/libhmac/libhmac_sha512_context.h index 179351d..1e42d5c 100644 --- a/libhmac/libhmac_sha512_context.h +++ b/libhmac/libhmac_sha512_context.h @@ -1,7 +1,7 @@ /* * SHA-512 context functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_support.c b/libhmac/libhmac_support.c index d85b487..92e0f6f 100644 --- a/libhmac/libhmac_support.c +++ b/libhmac/libhmac_support.c @@ -1,7 +1,7 @@ /* * Support functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_support.h b/libhmac/libhmac_support.h index 5aef9a6..411a09a 100644 --- a/libhmac/libhmac_support.h +++ b/libhmac/libhmac_support.h @@ -1,7 +1,7 @@ /* * Support functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_types.h b/libhmac/libhmac_types.h index 62eb354..a650a77 100644 --- a/libhmac/libhmac_types.h +++ b/libhmac/libhmac_types.h @@ -1,7 +1,7 @@ /* * The internal type definitions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libhmac/libhmac_unused.h b/libhmac/libhmac_unused.h index 4fd2440..bc5c0a0 100644 --- a/libhmac/libhmac_unused.h +++ b/libhmac/libhmac_unused.h @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/manuals/hmacsum.1 b/manuals/hmacsum.1 index ec96c71..2a6e8df 100644 --- a/manuals/hmacsum.1 +++ b/manuals/hmacsum.1 @@ -61,7 +61,7 @@ https://github.com/libyal/libhmac/ These man pages were written by Joachim Metz. .Sh COPYRIGHT .Pp -Copyright (C) 2011-2023, Joachim Metz . +Copyright (C) 2011-2024, Joachim Metz . .Pp This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. .Sh SEE ALSO diff --git a/manuals/libhmac.3 b/manuals/libhmac.3 index a181886..f6f21cd 100644 --- a/manuals/libhmac.3 +++ b/manuals/libhmac.3 @@ -118,7 +118,7 @@ Please report bugs of any kind on the project issue tracker: https://github.com/ .Sh AUTHOR These man pages are generated from "libhmac.h". .Sh COPYRIGHT -Copyright (C) 2011-2023, Joachim Metz . +Copyright (C) 2011-2024, Joachim Metz . .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 --git a/ossfuzz/md5_context_fuzzer.cc b/ossfuzz/md5_context_fuzzer.cc index 04de565..1dd2b10 100644 --- a/ossfuzz/md5_context_fuzzer.cc +++ b/ossfuzz/md5_context_fuzzer.cc @@ -1,7 +1,7 @@ /* * OSS-Fuzz target for libhmac MD5 context type * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/ossfuzz/ossfuzz_libhmac.h b/ossfuzz/ossfuzz_libhmac.h index 0dbb790..bc4a307 100644 --- a/ossfuzz/ossfuzz_libhmac.h +++ b/ossfuzz/ossfuzz_libhmac.h @@ -1,7 +1,7 @@ /* * The libhmac header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/ossfuzz/sha1_context_fuzzer.cc b/ossfuzz/sha1_context_fuzzer.cc index c176f72..a22a4dc 100644 --- a/ossfuzz/sha1_context_fuzzer.cc +++ b/ossfuzz/sha1_context_fuzzer.cc @@ -1,7 +1,7 @@ /* * OSS-Fuzz target for libhmac SHA1 context type * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/ossfuzz/sha224_context_fuzzer.cc b/ossfuzz/sha224_context_fuzzer.cc index b3e4df3..3efe9ea 100644 --- a/ossfuzz/sha224_context_fuzzer.cc +++ b/ossfuzz/sha224_context_fuzzer.cc @@ -1,7 +1,7 @@ /* * OSS-Fuzz target for libhmac SHA-224 context type * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/ossfuzz/sha256_context_fuzzer.cc b/ossfuzz/sha256_context_fuzzer.cc index 238dd4b..0870018 100644 --- a/ossfuzz/sha256_context_fuzzer.cc +++ b/ossfuzz/sha256_context_fuzzer.cc @@ -1,7 +1,7 @@ /* * OSS-Fuzz target for libhmac SHA-256 context type * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/ossfuzz/sha512_context_fuzzer.cc b/ossfuzz/sha512_context_fuzzer.cc index f2370a9..e17cffa 100644 --- a/ossfuzz/sha512_context_fuzzer.cc +++ b/ossfuzz/sha512_context_fuzzer.cc @@ -1,7 +1,7 @@ /* * OSS-Fuzz target for libhmac SHA-512 context type * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac.c b/pyhmac/pyhmac.c index ecbe961..e421f0a 100644 --- a/pyhmac/pyhmac.c +++ b/pyhmac/pyhmac.c @@ -1,7 +1,7 @@ /* * Python bindings module for libhmac (pyhmac) * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac.h b/pyhmac/pyhmac.h index 3afea5a..9b0d990 100644 --- a/pyhmac/pyhmac.h +++ b/pyhmac/pyhmac.h @@ -1,7 +1,7 @@ /* * Python bindings module for libhmac (pyhmac) * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_error.c b/pyhmac/pyhmac_error.c index 11aac7b..73d0caf 100644 --- a/pyhmac/pyhmac_error.c +++ b/pyhmac/pyhmac_error.c @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_error.h b/pyhmac/pyhmac_error.h index 14c228f..e0a775c 100644 --- a/pyhmac/pyhmac_error.h +++ b/pyhmac/pyhmac_error.h @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_libcerror.h b/pyhmac/pyhmac_libcerror.h index 8b1c0b4..26a6203 100644 --- a/pyhmac/pyhmac_libcerror.h +++ b/pyhmac/pyhmac_libcerror.h @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_libhmac.h b/pyhmac/pyhmac_libhmac.h index 5839f1b..a2b80bc 100644 --- a/pyhmac/pyhmac_libhmac.h +++ b/pyhmac/pyhmac_libhmac.h @@ -1,7 +1,7 @@ /* * The internal libhmac header * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_md5.c b/pyhmac/pyhmac_md5.c index b1db7ef..ce8d0ca 100644 --- a/pyhmac/pyhmac_md5.c +++ b/pyhmac/pyhmac_md5.c @@ -1,7 +1,7 @@ /* * Python definition of the libhmac MD5 functions * - * Copyright (C) 2010-2023, Joachim Metz + * Copyright (C) 2010-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_md5.h b/pyhmac/pyhmac_md5.h index 8d7d9a3..1eb3fa6 100644 --- a/pyhmac/pyhmac_md5.h +++ b/pyhmac/pyhmac_md5.h @@ -1,7 +1,7 @@ /* * Python definition of the libhmac MD5 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_md5_context.c b/pyhmac/pyhmac_md5_context.c index dd2257c..3ef4642 100644 --- a/pyhmac/pyhmac_md5_context.c +++ b/pyhmac/pyhmac_md5_context.c @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_md5_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_md5_context.h b/pyhmac/pyhmac_md5_context.h index 8df3168..5b14e75 100644 --- a/pyhmac/pyhmac_md5_context.h +++ b/pyhmac/pyhmac_md5_context.h @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_md5_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_python.h b/pyhmac/pyhmac_python.h index 5998b42..3223b6d 100644 --- a/pyhmac/pyhmac_python.h +++ b/pyhmac/pyhmac_python.h @@ -1,7 +1,7 @@ /* * The python header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha1.c b/pyhmac/pyhmac_sha1.c index e524231..ba455f1 100644 --- a/pyhmac/pyhmac_sha1.c +++ b/pyhmac/pyhmac_sha1.c @@ -1,7 +1,7 @@ /* * Python definition of the libhmac SHA1 functions * - * Copyright (C) 2010-2023, Joachim Metz + * Copyright (C) 2010-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha1.h b/pyhmac/pyhmac_sha1.h index a4f6e54..8af2447 100644 --- a/pyhmac/pyhmac_sha1.h +++ b/pyhmac/pyhmac_sha1.h @@ -1,7 +1,7 @@ /* * Python definition of the libhmac SHA1 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha1_context.c b/pyhmac/pyhmac_sha1_context.c index 5c59f8e..eca70b6 100644 --- a/pyhmac/pyhmac_sha1_context.c +++ b/pyhmac/pyhmac_sha1_context.c @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_sha1_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha1_context.h b/pyhmac/pyhmac_sha1_context.h index 374989a..431243d 100644 --- a/pyhmac/pyhmac_sha1_context.h +++ b/pyhmac/pyhmac_sha1_context.h @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_sha1_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha224.c b/pyhmac/pyhmac_sha224.c index 4d9b95e..e563d21 100644 --- a/pyhmac/pyhmac_sha224.c +++ b/pyhmac/pyhmac_sha224.c @@ -1,7 +1,7 @@ /* * Python definition of the libhmac SHA224 functions * - * Copyright (C) 2010-2023, Joachim Metz + * Copyright (C) 2010-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha224.h b/pyhmac/pyhmac_sha224.h index d1bffcd..b8ad763 100644 --- a/pyhmac/pyhmac_sha224.h +++ b/pyhmac/pyhmac_sha224.h @@ -1,7 +1,7 @@ /* * Python definition of the libhmac SHA224 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha224_context.c b/pyhmac/pyhmac_sha224_context.c index 20de9ac..3e09af9 100644 --- a/pyhmac/pyhmac_sha224_context.c +++ b/pyhmac/pyhmac_sha224_context.c @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_sha224_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha224_context.h b/pyhmac/pyhmac_sha224_context.h index 1f4afac..c381abf 100644 --- a/pyhmac/pyhmac_sha224_context.h +++ b/pyhmac/pyhmac_sha224_context.h @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_sha224_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha256.c b/pyhmac/pyhmac_sha256.c index 2920267..2fdf9cd 100644 --- a/pyhmac/pyhmac_sha256.c +++ b/pyhmac/pyhmac_sha256.c @@ -1,7 +1,7 @@ /* * Python definition of the libhmac SHA256 functions * - * Copyright (C) 2010-2023, Joachim Metz + * Copyright (C) 2010-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha256.h b/pyhmac/pyhmac_sha256.h index f3ec359..7c1fe46 100644 --- a/pyhmac/pyhmac_sha256.h +++ b/pyhmac/pyhmac_sha256.h @@ -1,7 +1,7 @@ /* * Python definition of the libhmac SHA256 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha256_context.c b/pyhmac/pyhmac_sha256_context.c index 0e48403..086513c 100644 --- a/pyhmac/pyhmac_sha256_context.c +++ b/pyhmac/pyhmac_sha256_context.c @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_sha256_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha256_context.h b/pyhmac/pyhmac_sha256_context.h index 2127057..d2c09c5 100644 --- a/pyhmac/pyhmac_sha256_context.h +++ b/pyhmac/pyhmac_sha256_context.h @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_sha256_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha512.c b/pyhmac/pyhmac_sha512.c index 4a69997..932f15c 100644 --- a/pyhmac/pyhmac_sha512.c +++ b/pyhmac/pyhmac_sha512.c @@ -1,7 +1,7 @@ /* * Python definition of the libhmac SHA512 functions * - * Copyright (C) 2010-2023, Joachim Metz + * Copyright (C) 2010-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha512.h b/pyhmac/pyhmac_sha512.h index 9d9f8f6..b5a7136 100644 --- a/pyhmac/pyhmac_sha512.h +++ b/pyhmac/pyhmac_sha512.h @@ -1,7 +1,7 @@ /* * Python definition of the libhmac SHA512 functions * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha512_context.c b/pyhmac/pyhmac_sha512_context.c index 033695a..97fd56a 100644 --- a/pyhmac/pyhmac_sha512_context.c +++ b/pyhmac/pyhmac_sha512_context.c @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_sha512_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_sha512_context.h b/pyhmac/pyhmac_sha512_context.h index 1ff4b41..9bd6621 100644 --- a/pyhmac/pyhmac_sha512_context.h +++ b/pyhmac/pyhmac_sha512_context.h @@ -1,7 +1,7 @@ /* * Python object wrapper of libhmac_sha512_context_t * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/pyhmac/pyhmac_unused.h b/pyhmac/pyhmac_unused.h index 07ba219..e7cb3d4 100644 --- a/pyhmac/pyhmac_unused.h +++ b/pyhmac/pyhmac_unused.h @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_error.c b/tests/hmac_test_error.c index bd73f85..b2f4fd1 100644 --- a/tests/hmac_test_error.c +++ b/tests/hmac_test_error.c @@ -1,7 +1,7 @@ /* * Library error functions test program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_libcerror.h b/tests/hmac_test_libcerror.h index d46489d..898f816 100644 --- a/tests/hmac_test_libcerror.h +++ b/tests/hmac_test_libcerror.h @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_libhmac.h b/tests/hmac_test_libhmac.h index ffaf5f7..94d5af8 100644 --- a/tests/hmac_test_libhmac.h +++ b/tests/hmac_test_libhmac.h @@ -1,7 +1,7 @@ /* * The libhmac header wrapper * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_macros.h b/tests/hmac_test_macros.h index 7cedd3d..66cee3b 100644 --- a/tests/hmac_test_macros.h +++ b/tests/hmac_test_macros.h @@ -1,7 +1,7 @@ /* * Macros for testing * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_md5.c b/tests/hmac_test_md5.c index 7d21ac9..d9d7bfe 100644 --- a/tests/hmac_test_md5.c +++ b/tests/hmac_test_md5.c @@ -1,7 +1,7 @@ /* * Library MD5 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_md5_context.c b/tests/hmac_test_md5_context.c index bd5de2b..12f7954 100644 --- a/tests/hmac_test_md5_context.c +++ b/tests/hmac_test_md5_context.c @@ -1,7 +1,7 @@ /* * Library MD5 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_memory.c b/tests/hmac_test_memory.c index 805b369..cb7f888 100644 --- a/tests/hmac_test_memory.c +++ b/tests/hmac_test_memory.c @@ -1,7 +1,7 @@ /* * Memory allocation functions for testing * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_memory.h b/tests/hmac_test_memory.h index 8df9de1..2c29d32 100644 --- a/tests/hmac_test_memory.h +++ b/tests/hmac_test_memory.h @@ -1,7 +1,7 @@ /* * Memory allocation functions for testing * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_sha1.c b/tests/hmac_test_sha1.c index 06080d6..a0d959c 100644 --- a/tests/hmac_test_sha1.c +++ b/tests/hmac_test_sha1.c @@ -1,7 +1,7 @@ /* * Library SHA1 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_sha1_context.c b/tests/hmac_test_sha1_context.c index 2797641..9387eab 100644 --- a/tests/hmac_test_sha1_context.c +++ b/tests/hmac_test_sha1_context.c @@ -1,7 +1,7 @@ /* * Library SHA1 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_sha224.c b/tests/hmac_test_sha224.c index c727549..624f822 100644 --- a/tests/hmac_test_sha224.c +++ b/tests/hmac_test_sha224.c @@ -1,7 +1,7 @@ /* * Library SHA-224 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_sha224_context.c b/tests/hmac_test_sha224_context.c index 4a51e95..902c66f 100644 --- a/tests/hmac_test_sha224_context.c +++ b/tests/hmac_test_sha224_context.c @@ -1,7 +1,7 @@ /* * Library SHA-224 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_sha256.c b/tests/hmac_test_sha256.c index 537f7cc..6acff8e 100644 --- a/tests/hmac_test_sha256.c +++ b/tests/hmac_test_sha256.c @@ -1,7 +1,7 @@ /* * Library SHA-256 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_sha256_context.c b/tests/hmac_test_sha256_context.c index 0afeade..49cd25f 100644 --- a/tests/hmac_test_sha256_context.c +++ b/tests/hmac_test_sha256_context.c @@ -1,7 +1,7 @@ /* * Library SHA-256 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_sha512.c b/tests/hmac_test_sha512.c index 0915014..547bf7d 100644 --- a/tests/hmac_test_sha512.c +++ b/tests/hmac_test_sha512.c @@ -1,7 +1,7 @@ /* * Library SHA-512 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_sha512_context.c b/tests/hmac_test_sha512_context.c index e60c94e..e214119 100644 --- a/tests/hmac_test_sha512_context.c +++ b/tests/hmac_test_sha512_context.c @@ -1,7 +1,7 @@ /* * Library SHA-512 context type testing program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_support.c b/tests/hmac_test_support.c index 231f6ab..7120f0e 100644 --- a/tests/hmac_test_support.c +++ b/tests/hmac_test_support.c @@ -1,7 +1,7 @@ /* * Library support functions test program * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/hmac_test_unused.h b/tests/hmac_test_unused.h index 3070c39..78326a4 100644 --- a/tests/hmac_test_unused.h +++ b/tests/hmac_test_unused.h @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2011-2023, Joachim Metz + * Copyright (C) 2011-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/pyhmac_test_support.py b/tests/pyhmac_test_support.py index 8341bcf..a80c038 100644 --- a/tests/pyhmac_test_support.py +++ b/tests/pyhmac_test_support.py @@ -2,7 +2,7 @@ # # Python-bindings support functions test script # -# Copyright (C) 2011-2023, Joachim Metz +# Copyright (C) 2011-2024, Joachim Metz # # Refer to AUTHORS for acknowledgements. # diff --git a/tests/test_python_module.sh b/tests/test_python_module.sh index 7f271d6..f5af038 100755 --- a/tests/test_python_module.sh +++ b/tests/test_python_module.sh @@ -1,10 +1,11 @@ #!/usr/bin/env bash # Tests Python module functions and types. # -# Version: 20231005 +# Version: 20240120 EXIT_SUCCESS=0; EXIT_FAILURE=1; +EXIT_NO_TESTS_RAN=5; EXIT_IGNORE=77; TEST_FUNCTIONS="support"; @@ -147,7 +148,11 @@ do test_python_function "${TEST_FUNCTION}"; RESULT=$?; - if test ${RESULT} -ne ${EXIT_SUCCESS}; + if test ${RESULT} -eq ${EXIT_NO_TESTS_RAN}; + then + RESULT=${EXIT_IGNORE}; + fi + if test ${RESULT} -ne ${EXIT_SUCCESS} && test ${RESULT} -ne ${EXIT_IGNORE}; then break; fi @@ -168,8 +173,11 @@ do test_python_function "${TEST_FUNCTION}"; RESULT=$?; fi - - if test ${RESULT} -ne ${EXIT_SUCCESS}; + if test ${RESULT} -eq ${EXIT_NO_TESTS_RAN}; + then + RESULT=${EXIT_IGNORE}; + fi + if test ${RESULT} -ne ${EXIT_SUCCESS} && test ${RESULT} -ne ${EXIT_IGNORE}; then break; fi diff --git a/tox.ini b/tox.ini index 0eb54f9..2e47be1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3{7,8,9,10,11,12} +envlist = auditwheel,py3{7,8,9,10,11,12} [testenv] usedevelop = True @@ -12,9 +12,18 @@ passenv = LIB deps = build - setuptools + setuptools >= 65 wheel commands = python -m build --no-isolation --outdir=dist --wheel python -m pip install --no-index --find-links=dist libhmac-python python tests/runtests.py + +[testenv:auditwheel] +usedevelop = True +pip_pre = True +deps = + auditwheel + setuptools >= 65 +commands = + python -m auditwheel repair {posargs}