commit | 95cc223afbde013c2dd0d6399211227861dbd9b2 | [log] [tgz] |
---|---|---|
author | Daniel P. Berrangé <berrange@redhat.com> | Thu Oct 10 12:40:49 2024 +0100 |
committer | Daniel P. Berrangé <berrange@redhat.com> | Thu Oct 10 13:13:53 2024 +0100 |
tree | 4da65b0a50bc1ca5d632ae7d14a432e4ff0083f0 | |
parent | 24a6271ebb2dd253952e7dcfb5420a37ffde86ba [diff] |
crypto: drop obsolete back compat logic for old nettle The nettle 2.x series declared all the hash functions with 'int' for the data size. Since we dropped support for anything older than 3.4 we can assume nettle is using 'size_t' and thus avoid the back compat looping logic. Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>