From d492d422b6dbffcb4ca1868f3127a259bbd0a04b Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Sat, 20 Feb 2016 05:02:30 +0100 Subject: [PATCH] Update libtomcrypt to https://github.com/libtom/libtomcrypt/commit/de15a6fad94a1d6d05a197bd409adbec084fac2b. This is mainly with focus on issues with the ECC code. One of these issues is a "possible overflow in ecc_ansi_x963_export" (https://github.com/libtom/libtomcrypt/issues/58). Other than that all changes are minimal, only one new compile flag had to be added to get around a compiler incompatibility case for LTC_FAST (we're not working with GNU compilers here) and the code will fully compile. --- deps/libtomcrypt | 2 +- premake5.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/libtomcrypt b/deps/libtomcrypt index bd7933cc..de15a6fa 160000 --- a/deps/libtomcrypt +++ b/deps/libtomcrypt @@ -1 +1 @@ -Subproject commit bd7933cc2b43ebe7c4349614c6cf1271251ebee4 +Subproject commit de15a6fad94a1d6d05a197bd409adbec084fac2b diff --git a/premake5.lua b/premake5.lua index 14bb0e26..b5d12f96 100644 --- a/premake5.lua +++ b/premake5.lua @@ -251,7 +251,7 @@ workspace "iw4x" -- libtomcrypt project "libtomcrypt" language "C" - defines { "_LIB", "LTC_SOURCE", "LTC_NO_RSA_BLINDING", "LTM_DESC", "USE_LTM", "WIN32" } + defines { "_LIB", "LTC_SOURCE", "LTC_NO_FAST", "LTC_NO_RSA_BLINDING", "LTM_DESC", "USE_LTM", "WIN32" } links { "libtommath" } includedirs { "./deps/libtomcrypt/src/headers" }