mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
[winpr,crypto] fixed const correctness of md4/5
This commit is contained in:
committed by
Bernhard Miklautz
parent
aaae70ff05
commit
389817cb57
@@ -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) \
|
||||
|
||||
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user