diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-04-26 14:39:27 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-04-26 14:39:27 +0200 |
commit | a78265874b34c2885ceb32e839698b2a892b274e (patch) | |
tree | 7e0e4c2ab7e4911c8801bfbaae684687ecf1e1e0 /testsuite/rsa-encrypt-test.c | |
parent | 64bb6b36b0b12873a9ad93b77bc006f6fd7a70da (diff) | |
download | nettle-a78265874b34c2885ceb32e839698b2a892b274e.tar.gz |
Use size_t for bignums, rsa and dsa.
Diffstat (limited to 'testsuite/rsa-encrypt-test.c')
-rw-r--r-- | testsuite/rsa-encrypt-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/rsa-encrypt-test.c b/testsuite/rsa-encrypt-test.c index c7b616c9..7104e24b 100644 --- a/testsuite/rsa-encrypt-test.c +++ b/testsuite/rsa-encrypt-test.c @@ -12,10 +12,10 @@ test_main(void) /* FIXME: How is this spelled? */ const uint8_t *msg = "Squemish ossifrage"; - unsigned msg_length; + size_t msg_length; uint8_t *decrypted; - unsigned decrypted_length; + size_t decrypted_length; uint8_t after; mpz_t gibberish; @@ -30,7 +30,7 @@ test_main(void) msg_length = strlen(msg); if (verbose) - fprintf(stderr, "msg: `%s', length = %d\n", msg, msg_length); + fprintf(stderr, "msg: `%s', length = %d\n", msg, (int) msg_length); ASSERT(rsa_encrypt(&pub, &lfib, (nettle_random_func *) knuth_lfib_random, |