[Qemu-devel] [PATCH for-4.1 0/2] Compatibility fixes for nettle 2.7 vs 3.0 vs 3.5

Daniel P. Berrangé posted 2 patches 4 years, 9 months ago
Test asan passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test FreeBSD passed
Test checkpatch passed
Test s390x passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190712101849.8993-1-berrange@redhat.com
Maintainers: "Daniel P. Berrangé" <berrange@redhat.com>
crypto/cipher-nettle.c | 218 ++++++++++++++++++++++++++++++++++-------
crypto/hash-nettle.c   |  12 ++-
crypto/hmac-nettle.c   |  17 +++-
3 files changed, 205 insertions(+), 42 deletions(-)
[Qemu-devel] [PATCH for-4.1 0/2] Compatibility fixes for nettle 2.7 vs 3.0 vs 3.5
Posted by Daniel P. Berrangé 4 years, 9 months ago
This short series fixes a few compatibility issues around different
nettle versions.

Daniel P. Berrangé (2):
  crypto: switch to modern nettle AES APIs
  crypto: fix function signatures for nettle 2.7 vs 3

 crypto/cipher-nettle.c | 218 ++++++++++++++++++++++++++++++++++-------
 crypto/hash-nettle.c   |  12 ++-
 crypto/hmac-nettle.c   |  17 +++-
 3 files changed, 205 insertions(+), 42 deletions(-)

-- 
2.21.0


Re: [Qemu-devel] [PATCH for-4.1 0/2] Compatibility fixes for nettle 2.7 vs 3.0 vs 3.5
Posted by Amol Surati 4 years, 9 months ago
On Fri, Jul 12, 2019 at 11:18:47AM +0100, Daniel P. Berrangé wrote:
> This short series fixes a few compatibility issues around different
> nettle versions.

Thank you for the fix. The compilation with nettle 3.5.1 now succeeds
without resorting to --disable-werror or --disable-nettle.

-amol