crypto: Fix data type for len parameter in two typedefs
Signed-off-by Stefan Weil <[email protected]>
--- crypto/hash-nettle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
crypto/hash-nettle.c +2 -2
@@ -28,10 +28,10 @@typedef void (*qcrypto_nettle_init )(void *ctx);typedef void (*qcrypto_nettle_write )(void *ctx, -unsigned int len, +size_t len,const uint8_t *buf);typedef void (*qcrypto_nettle_result )(void *ctx, -unsigned int len, +size_t len,uint8_t *buf);union qcrypto_hash_ctx {
Signature · 1 line
2.20.1
this series seems to provide a more complete fix
Quoted 4 lines · Stefan Weil
Signed-off-by Stefan Weil <[email protected]>--- crypto/hash-nettle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
FYI, A different fix for this problem is now merged.
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|