summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorDaniel P. Berrangé2019-07-12 12:14:19 +0200
committerDaniel P. Berrangé2019-07-19 13:48:22 +0200
commitf887849007312454574ebc1057a438beaa2916df (patch)
tree3eb356915aade4fad4600d6e56d90e0a318e3f0d /include/exec
parentcrypto: switch to modern nettle AES APIs (diff)
downloadqemu-f887849007312454574ebc1057a438beaa2916df.tar.gz
qemu-f887849007312454574ebc1057a438beaa2916df.tar.xz
qemu-f887849007312454574ebc1057a438beaa2916df.zip
crypto: fix function signatures for nettle 2.7 vs 3
Nettle version 2.7.x used 'unsigned int' instead of 'size_t' for length parameters in functions. Use a local typedef so that we can build with the correct signature depending on nettle version, as we already do in the cipher code. Reported-by: Amol Surati <suratiamol@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions