aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-08-25 23:18:14 -0400
committerRob Austein <sra@hactrn.net>2015-08-25 23:18:14 -0400
commit821f7d6bf05601811cf9b4e9a5513374e3261d0b (patch)
treea62850ca9503e73a0540ccd6c3211a8b21dd31f5 /tests
parentdd313d41739740c4bb9e631e48c9a6f61f7b876e (diff)
More ASN.1 fixes.
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 816c80e..2cf2277 100644
--- a/tests/test-ecdsa.c
+++ b/tests/test-ecdsa.c
@@ -157,7 +157,7 @@ static int test_against_static_vectors(const ecdsa_tc_t * const tc)
set_next_random(tc->k, tc->k_len);
- uint8_t sig[tc->sig_len];
+ uint8_t sig[tc->sig_len + 4];
size_t sig_len;
if ((err = hal_ecdsa_sign(key1, tc->H, tc->H_len, sig, &sig_len, sizeof(sig))) != HAL_OK)