From b7e886a7403d5e7106328506c7a990637d77f0b2 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 5 Jun 2024 23:04:09 +0200 Subject: [PATCH] Rename sha256 header fixes #14710 --- lib/sha256/{sha256/sha256.h => my_sha256.h} | 0 lib/sha256/sha256.c | 2 +- src/script/lua_api/l_util.cpp | 2 +- src/util/srp.cpp | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename lib/sha256/{sha256/sha256.h => my_sha256.h} (100%) diff --git a/lib/sha256/sha256/sha256.h b/lib/sha256/my_sha256.h similarity index 100% rename from lib/sha256/sha256/sha256.h rename to lib/sha256/my_sha256.h diff --git a/lib/sha256/sha256.c b/lib/sha256/sha256.c index 56bdec098..cd78e24f6 100644 --- a/lib/sha256/sha256.c +++ b/lib/sha256/sha256.c @@ -56,7 +56,7 @@ #include #include -#include "sha256/sha256.h" +#include "my_sha256.h" #if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__) #define __attribute__(a) diff --git a/src/script/lua_api/l_util.cpp b/src/script/lua_api/l_util.cpp index c868f949c..883b9480c 100644 --- a/src/script/lua_api/l_util.cpp +++ b/src/script/lua_api/l_util.cpp @@ -42,7 +42,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "version.h" #include "util/hex.h" #include "util/sha1.h" -#include +#include "my_sha256.h" #include "util/png.h" #include diff --git a/src/util/srp.cpp b/src/util/srp.cpp index ea64efca6..56b2aa763 100644 --- a/src/util/srp.cpp +++ b/src/util/srp.cpp @@ -50,7 +50,7 @@ #include #endif -#include +#include "my_sha256.h" #include "srp.h" //#define CSRP_USE_SHA1