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:
parent
07245c1cdd
commit
50934a542d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user