initialize ltc_mp to force allocation under all compilers, including clang on macOS

This commit is contained in:
Andrew Janke
2017-08-31 04:22:13 -04:00
committed by Karel Miko
parent 32d60ac134
commit cfce691a50
3 changed files with 3 additions and 8 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
*/
#include "tomcrypt.h"
ltc_math_descriptor ltc_mp;
/* Initialize ltc_mp to nulls, to force allocation on all platforms, including macOS. */
ltc_math_descriptor ltc_mp = { 0 };
/* ref: $Format:%D$ */
/* git commit: $Format:%H$ */