Fixed initialization of read bytes counter in "encode" mode.
This commit is contained in:
parent
895b2812a6
commit
61a7d1155e
@ -148,7 +148,7 @@ static int encrypt(const char* const passphrase, const CHR* const input_path, co
|
||||
}
|
||||
|
||||
clock_t clk_now, clk_update = clock();
|
||||
uint64_t crc_actual = CRC_INITIALIZER, bytes_read = sizeof(uint64_t);
|
||||
uint64_t crc_actual = CRC_INITIALIZER, bytes_read = 0U;
|
||||
uint8_t buffer[BUFF_SIZE];
|
||||
|
||||
FPRINTF(stderr, T("%5.1f%% "), 0.0);
|
||||
|
Loading…
Reference in New Issue
Block a user