Commit e0c0ee8d authored by Dan Schatzberg's avatar Dan Schatzberg

Fix md5.c++ to work on non x86 systems

ctx is not a pointer but was being used with the arrow operator on non-x86 systems
parent 798ff87b
......@@ -81,13 +81,13 @@ namespace compiler {
SET(n)
#else
#define SET(n) \
(ctx->block[(n)] = \
(ctx.block[(n)] = \
(MD5_u32plus)ptr[(n) * 4] | \
((MD5_u32plus)ptr[(n) * 4 + 1] << 8) | \
((MD5_u32plus)ptr[(n) * 4 + 2] << 16) | \
((MD5_u32plus)ptr[(n) * 4 + 3] << 24))
#define GET(n) \
(ctx->block[(n)])
(ctx.block[(n)])
#endif
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment