mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
tests/torture_rekey: Replace long long with uint64_t
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
ab25ca205d
commit
fba384ac58
@@ -153,7 +153,7 @@ static void torture_rekey_send(void **state)
|
|||||||
int rc;
|
int rc;
|
||||||
char data[256];
|
char data[256];
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
long long bytes = 2048; /* 2KB (more than the authentication phase) */
|
uint64_t bytes = 2048; /* 2KB (more than the authentication phase) */
|
||||||
struct ssh_crypto_struct *c = NULL;
|
struct ssh_crypto_struct *c = NULL;
|
||||||
unsigned char *secret_hash = NULL;
|
unsigned char *secret_hash = NULL;
|
||||||
|
|
||||||
@@ -234,7 +234,7 @@ static void session_setup_sftp(void **state)
|
|||||||
assert_non_null(s->ssh.tsftp);
|
assert_non_null(s->ssh.tsftp);
|
||||||
}
|
}
|
||||||
|
|
||||||
long long bytes = 2048; /* 2KB */
|
uint64_t bytes = 2048; /* 2KB */
|
||||||
|
|
||||||
static int session_setup_sftp_client(void **state)
|
static int session_setup_sftp_client(void **state)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user