From 821f7d6bf05601811cf9b4e9a5513374e3261d0b Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 25 Aug 2015 23:18:14 -0400 Subject: More ASN.1 fixes. --- tests/test-ecdsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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) -- cgit v1.2.3