aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-06-14 12:04:33 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-06-14 15:22:45 +0200
commitfba384ac5879aa2de6b5374962aa2a2377aa752e (patch)
treeff35c31906712e8d399b3d6112c7f7f9bbcea15a
parentab25ca205d8b3af0619edc8794b692b20a79de86 (diff)
downloadlibssh-fba384ac5879aa2de6b5374962aa2a2377aa752e.tar.gz
libssh-fba384ac5879aa2de6b5374962aa2a2377aa752e.tar.xz
libssh-fba384ac5879aa2de6b5374962aa2a2377aa752e.zip
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>
-rw-r--r--tests/client/torture_rekey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client/torture_rekey.c b/tests/client/torture_rekey.c
index d9d9f6a9..b8e93768 100644
--- a/tests/client/torture_rekey.c
+++ b/tests/client/torture_rekey.c
@@ -153,7 +153,7 @@ static void torture_rekey_send(void **state)
int rc;
char data[256];
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;
unsigned char *secret_hash = NULL;
@@ -234,7 +234,7 @@ static void session_setup_sftp(void **state)
assert_non_null(s->ssh.tsftp);
}
-long long bytes = 2048; /* 2KB */
+uint64_t bytes = 2048; /* 2KB */
static int session_setup_sftp_client(void **state)
{