Commit b6b3402e4a4b53cedff228a75339f08d23e6411d

Guillem Jover 2018-10-06T04:30:59

Fix compatibility macros for SHA512 These have swapped names in their macro values.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/sha512.h b/include/sha512.h
index db300f1..d050001 100644
--- a/include/sha512.h
+++ b/include/sha512.h
@@ -46,8 +46,8 @@ typedef SHA2_CTX SHA384_CTX;
 #define SHA512_Update		SHA512Update
 #define SHA512_Final		SHA512Final
 #define SHA512_End		SHA512End
-#define SHA512_Data		SHA512File
-#define SHA512_File		SHA512FileChunk
-#define SHA512_FileChunk	SHA512Data
+#define SHA512_Data		SHA512Data
+#define SHA512_File		SHA512File
+#define SHA512_FileChunk	SHA512FileChunk
 
 #endif