1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-06-02 03:41:34 +03:00

mbedtls: Change the last argument of cipher_[de|en]crypt_cbc to size_t

to avoid their prototype different from ssh_cipher_struct

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Change-Id: I6cba2d4fea131f13d028226023da692494caa87d
This commit is contained in:
Xiang Xiao 2021-05-05 09:15:38 -07:00 committed by Andreas Schneider
parent 07245c1cdd
commit 50934a542d

View File

@ -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,
unsigned long len)
size_t 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,
unsigned long len)
size_t len)
{
size_t outlen = 0;
int rc = 0;