aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-08-26 08:40:11 -0400
committerRob Austein <sra@hactrn.net>2015-08-26 08:40:11 -0400
commit1f8a59754c75af9b87e98c19dfc81fa4cc069555 (patch)
tree513d38c2544967c3edd456342ae6d001d3bfdae2 /tests
parent821f7d6bf05601811cf9b4e9a5513374e3261d0b (diff)
Signature works better if we read the entire hash.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-ecdsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-ecdsa.c b/tests/test-ecdsa.c
index 2cf2277..c4cf25f 100644
--- a/tests/test-ecdsa.c
+++ b/tests/test-ecdsa.c
@@ -115,7 +115,7 @@ static int test_against_static_vectors(const ecdsa_tc_t * const tc)
{
hal_error_t err;
- printf("Starting static test vector tests for P-%d\n", tc->d_len * 8);
+ printf("Starting static test vector tests for P-%lu\n", (unsigned long) (tc->d_len * 8));
set_next_random(tc->d, tc->d_len);