summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongsun Lee <ds73.lee@samsung.com>2015-07-24 05:17:54 (GMT)
committerDongsun Lee <ds73.lee@samsung.com>2015-07-24 05:18:41 (GMT)
commit391c9b75f18989c2778c0cc804a4eddb38a3f050 (patch)
tree65fff8cfa59d1902ba1ed61d8670c8305989038f
parent7abaa019637e0a534969d304cae7f7f43c4ab0a6 (diff)
downloadlibwebappenc-accepted/tizen/mobile/20150724.055328.zip
libwebappenc-accepted/tizen/mobile/20150724.055328.tar.gz
libwebappenc-accepted/tizen/mobile/20150724.055328.tar.bz2
Change-Id: If64499d0636ea6a08d9a96f73f83fa7d57d858e4 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
-rw-r--r--tests/wae_tests.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/wae_tests.c b/tests/wae_tests.c
index 49b6b32..18527d0 100644
--- a/tests/wae_tests.c
+++ b/tests/wae_tests.c
@@ -31,9 +31,9 @@
#include <tzplatform_config.h>
-static size_t tc_seq = 0;
-static size_t tc_succ = 0;
-static size_t tc_fail = 0;
+static int tc_seq = 0;
+static int tc_succ = 0;
+static int tc_fail = 0;
#define FPRINTF(format, args...) fprintf(stdout, format, ##args)
@@ -203,7 +203,7 @@ int wae_tc_encrypt_decrypt_aes_cbc()
}
if(plaintextLen != decLen) {
- FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", plaintextLen, decLen);
+ FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", (int) plaintextLen, (int) decLen);
ret = WAE_ERROR_CRYPTO;
goto error;
}
@@ -705,7 +705,7 @@ int wae_tc_encrypt_decrypt_web_application()
}
if(plaintextLen != decLen) {
- FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", plaintextLen, decLen);
+ FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", (int) plaintextLen, (int) decLen);
ret = WAE_ERROR_CRYPTO;
goto error;
}
@@ -754,7 +754,7 @@ int wae_tc_encrypt_decrypt_web_application()
_remove_app_dek_from_cache(pkgId2);
if(plaintextLen != decLen) {
- FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", plaintextLen, decLen);
+ FPRINTF("...FAIL: plaintextLen(%d) != decLen(%d)\n", (int) plaintextLen, (int) decLen);
ret = WAE_ERROR_CRYPTO;
goto error;
}