Message ID | 20190718195123.13064-1-sw@weilnetz.de |
---|---|
State | New |
Headers | show |
Series | [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs | expand |
this series seems to provide a more complete fix https://patchwork.ozlabs.org/cover/1131259/
On Thu, Jul 18, 2019 at 09:51:23PM +0200, Stefan Weil wrote: > Signed-off-by: Stefan Weil <sw@weilnetz.de> > --- > crypto/hash-nettle.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) FYI, A different fix for this problem is now merged. Regards, Daniel
diff --git a/crypto/hash-nettle.c b/crypto/hash-nettle.c index 96f186f442..074cece468 100644 --- a/crypto/hash-nettle.c +++ b/crypto/hash-nettle.c @@ -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 {
Signed-off-by: Stefan Weil <sw@weilnetz.de> --- crypto/hash-nettle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)