1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-09-02 17:21:15 +03:00

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 aef467ab4a.

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2021-05-12 11:15:24 +02:00
parent 30b548af02
commit ba04f788f4

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,
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;