hashes: Cleanup (removed unneccesary increment operator)

This commit is contained in:
Mathias Tausig 2016-05-12 09:19:30 +02:00
parent dfee5c3274
commit b30945a2f8

View File

@ -111,7 +111,7 @@ static void sha1_add_uncounted(sha1_context *s, uint8_t data)
static void sha1_update_byte(sha1_context *ctx, uint8_t data) static void sha1_update_byte(sha1_context *ctx, uint8_t data)
{ {
++ctx->byte_count; ++ctx->byte_count;
sha1_add_uncounted(ctx, data++); sha1_add_uncounted(ctx, data);
} }
void sha1_update(sha1_context *ctx, const uint8_t *data, size_t len) void sha1_update(sha1_context *ctx, const uint8_t *data, size_t len)