ping: i'd like to get this fix into 11.2
On Mon, Nov 02, 2026 at 12:23:39PM +0000, Daniel P. Berrangé wrote:
> Note that patch 4 is best reviewed by applying to git and then using
> 'git show -b' to hide the huge whitespace indentation change.
>
> Changed in v2:
>
> * Use array range initializer for setting default value
> * Drop redundant countermeasures now we can gurantee a
> correct default initializer value
> * Drop SM3 conditions in tests
> * Refactor tests to register one test per algorithm
>
> Daniel P. Berrangé (4):
> crypto: set default initializer hmac/hash arrays to -1
> crypto: unconditionally report SM3 hash length
> tests/unit: drop conditionals for SM3
> tests/unit: register one test per hash/hmac algorithm
>
> crypto/hash-glib.c | 3 +-
> crypto/hash.c | 4 +-
> crypto/hmac-glib.c | 4 +-
> tests/unit/test-crypto-hash.c | 325 +++++++++++++++-------------------
> tests/unit/test-crypto-hmac.c | 272 +++++++++++++---------------
> 5 files changed, 275 insertions(+), 333 deletions(-)
>
> --
> 2.56.0
>
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|