Browse Source

Prevent overrunning stack for large benchmarks

master
Joost Rijneveld 6 years ago
parent
commit
bb2d285814
No known key found for this signature in database GPG Key ID: A4FE39CF49CBC553
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      test/speed.c

+ 2
- 1
test/speed.c View File

@@ -108,7 +108,7 @@ int main()
unsigned long long mlen;

unsigned long long t0, t1;
unsigned long long t[XMSS_SIGNATURES];
unsigned long long *t = malloc(sizeof(unsigned long long) * XMSS_SIGNATURES);
struct timespec start, stop;
double result;

@@ -153,6 +153,7 @@ int main()
free(m);
free(sm);
free(mout);
free(t);

return ret;
}

Loading…
Cancel
Save