From ba04f788f46135da74d764d57e03ebc96dab8cb9 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 12 May 2021 11:15:24 +0200 Subject: [PATCH] Revert "mbedtls: Change the last argument of cipher_[de|en]crypt_cbc to size_t" because of inconsistent author and sign-off This reverts commit aef467ab4a01133c8d7fca1a48144f72d9bb0124. Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider --- src/libmbedcrypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libmbedcrypto.c b/src/libmbedcrypto.c index 35e750e4..79f8ecc2 100644 --- a/src/libmbedcrypto.c +++ b/src/libmbedcrypto.c @@ -693,7 +693,7 @@ static void cipher_encrypt(struct ssh_cipher_struct *cipher, } static void cipher_encrypt_cbc(struct ssh_cipher_struct *cipher, void *in, void *out, - size_t len) + unsigned long len) { size_t outlen = 0; int rc = 0; @@ -751,7 +751,7 @@ static void cipher_decrypt(struct ssh_cipher_struct *cipher, } static void cipher_decrypt_cbc(struct ssh_cipher_struct *cipher, void *in, void *out, - size_t len) + unsigned long len) { size_t outlen = 0; int rc = 0;