diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-09 23:30:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-09 23:30:36 +0300 |
commit | 22a66542b07a4238ef55e0a4aace09a62f416103 (patch) | |
tree | da72c4875794067199d14885ac268b749a9a79e3 /src/utils/sha256.cpp | |
parent | e3dabb7f0a22c6442dde5f261d3414f9e7369592 (diff) | |
download | manaplus-22a66542b07a4238ef55e0a4aace09a62f416103.tar.gz manaplus-22a66542b07a4238ef55e0a4aace09a62f416103.tar.bz2 manaplus-22a66542b07a4238ef55e0a4aace09a62f416103.tar.xz manaplus-22a66542b07a4238ef55e0a4aace09a62f416103.zip |
Fix code style.
Diffstat (limited to 'src/utils/sha256.cpp')
-rw-r--r-- | src/utils/sha256.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp index dab01a1ea..5d3e4c1d2 100644 --- a/src/utils/sha256.cpp +++ b/src/utils/sha256.cpp @@ -254,7 +254,7 @@ void SHA256Update(SHA256Context *ctx, SHA256Transform(ctx, ctx->block, 1); SHA256Transform(ctx, shifted_message, block_nb); rem_len = new_len % SHA256_BLOCK_SIZE; - memcpy(ctx->block, &shifted_message[block_nb << 6],rem_len); + memcpy(ctx->block, &shifted_message[block_nb << 6], rem_len); ctx->len = rem_len; ctx->tot_len += (block_nb + 1) << 6; } |