diff options
author | Ladislav Zezula <zezula@volny.cz> | 2023-09-23 07:00:33 +0200 |
---|---|---|
committer | Ladislav Zezula <zezula@volny.cz> | 2023-09-23 07:00:33 +0200 |
commit | e2a9429979aecbdf828441206a0ec5ce4eadc16c (patch) | |
tree | 7c5bf64745b4ac7a25a8e36726cb2059be91fd35 /src | |
parent | cb56fff1a5aa1fd3b69c92c38dd07aec4ae28dec (diff) |
SHA256 is available only in test program
Diffstat (limited to 'src')
-rw-r--r-- | src/SBaseCommon.cpp | 1 | ||||
-rw-r--r-- | src/StormLib.h | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/SBaseCommon.cpp b/src/SBaseCommon.cpp index 664d4b0..cb78bb5 100644 --- a/src/SBaseCommon.cpp +++ b/src/SBaseCommon.cpp @@ -244,7 +244,6 @@ void InitializeMpqCryptography() }
// Also register both MD5 and SHA1 hash algorithms
- register_hash(&sha256_desc);
register_hash(&sha1_desc);
register_hash(&md5_desc);
diff --git a/src/StormLib.h b/src/StormLib.h index 0bab24e..4d5992d 100644 --- a/src/StormLib.h +++ b/src/StormLib.h @@ -403,10 +403,6 @@ extern "C" { #define SHA1_DIGEST_SIZE 0x14 // 160 bits #endif -#ifndef SHA256_DIGEST_SIZE -#define SHA256_DIGEST_SIZE 0x20 // 256 bits -#endif - #ifndef LANG_NEUTRAL #define LANG_NEUTRAL 0x00 // Neutral locale #endif |