aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_crypto_rsa.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-08 18:54:08 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-08 18:54:08 +0000
commita8e3c5873feed7a356f503af48669cb043d80e19 (patch)
treedfb17ab9ea9e77d3acdb7f24511ccfa58e892c5f /src/util/test_crypto_rsa.c
parente1e86e290710ab2f953d62a504feebdf8ddfe56f (diff)
downloadgnunet-a8e3c5873feed7a356f503af48669cb043d80e19.tar.gz
gnunet-a8e3c5873feed7a356f503af48669cb043d80e19.zip
nitpicks
Diffstat (limited to 'src/util/test_crypto_rsa.c')
-rw-r--r--src/util/test_crypto_rsa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/test_crypto_rsa.c b/src/util/test_crypto_rsa.c
index 4456d68f4..93e6e2098 100644
--- a/src/util/test_crypto_rsa.c
+++ b/src/util/test_crypto_rsa.c
@@ -76,7 +76,9 @@ testEncryptDecrypt ()
76 if (strncmp (TESTSTRING, result, strlen (TESTSTRING)) != 0) 76 if (strncmp (TESTSTRING, result, strlen (TESTSTRING)) != 0)
77 { 77 {
78 printf ("%s != %.*s - testEncryptDecrypt failed!\n", 78 printf ("%s != %.*s - testEncryptDecrypt failed!\n",
79 TESTSTRING, MAX_TESTVAL, result); 79 TESTSTRING,
80 (int) MAX_TESTVAL,
81 result);
80 ok++; 82 ok++;
81 continue; 83 continue;
82 } 84 }
@@ -273,7 +275,7 @@ testSignPerformance ()
273 } 275 }
274 } 276 }
275 printf ("%d RSA sign operations %llu ms\n", ITER, 277 printf ("%d RSA sign operations %llu ms\n", ITER,
276 GNUNET_TIME_absolute_get_duration (start).value); 278 (unsigned long long) GNUNET_TIME_absolute_get_duration (start).value);
277 GNUNET_CRYPTO_rsa_key_free (hostkey); 279 GNUNET_CRYPTO_rsa_key_free (hostkey);
278 return ok; 280 return ok;
279} 281}