[winpr,crypto] fixed const correctness of md4/5

This commit is contained in:
akallabeth
2022-11-14 10:33:08 +01:00
committed by Bernhard Miklautz
parent aaae70ff05
commit 389817cb57
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@
* their own translation unit avoids the problem.
*/
#if defined(__i386__) || defined(__x86_64__) || defined(__vax__)
#define SET(n) (*(winpr_MD4_u32plus*)&ptr[(n)*4])
#define SET(n) (*(const winpr_MD4_u32plus*)&ptr[(n)*4])
#define GET(n) SET(n)
#else
#define SET(n) \

View File

@@ -76,7 +76,7 @@
* their own translation unit avoids the problem.
*/
#if defined(__i386__) || defined(__x86_64__) || defined(__vax__)
#define SET(n) (*(winpr_MD5_u32plus*)&ptr[(n)*4])
#define SET(n) (*(const winpr_MD5_u32plus*)&ptr[(n)*4])
#define GET(n) SET(n)
#else
#define SET(n) \