diff options
| author | Adam Ierymenko <[email protected]> | 2017-05-09 21:36:25 -0700 |
|---|---|---|
| committer | Adam Ierymenko <[email protected]> | 2017-05-09 21:36:25 -0700 |
| commit | ceee56af51231e849a3aecfdd6fddebbb47fe9d0 (patch) | |
| tree | 1fef56bfd4aacb22af247d753e4b58821b4f5eb0 /selftest.cpp | |
| parent | d297d8fe2eccf8ca001d28a950152fc3bec992b5 (diff) | |
Fix for small stacks.
Diffstat (limited to 'selftest.cpp')
| -rw-r--r-- | selftest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest.cpp b/selftest.cpp index 759f39c1..8175d708 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -151,8 +151,8 @@ static const C25519TestVector C25519_TEST_VECTORS[ZT_NUM_C25519_TEST_VECTORS] = static int testCrypto() { - unsigned char buf1[16384]; - unsigned char buf2[sizeof(buf1)],buf3[sizeof(buf1)]; + static unsigned char buf1[16384]; + static unsigned char buf2[sizeof(buf1)],buf3[sizeof(buf1)]; for(int i=0;i<3;++i) { Utils::getSecureRandom(buf1,64); |
