Code review update

Code review update
This commit is contained in:
MassimilianoPinto
2016-10-04 09:20:03 +02:00
parent dcc38b44a9
commit e5b34e30ae
3 changed files with 17 additions and 13 deletions

View File

@ -474,7 +474,7 @@ blr_write_binlog_record(ROUTER_INSTANCE *router, REP_HEADER *hdr, uint32_t size,
uint8_t *buf_ptr = buf + 4;
/* 16 bytes after buf + 4 are owerwritten by XORed with IV */
/* Only 15 bytes are involved */
for (int i=0; i < (AES_BLOCK_SIZE - 1); i++)
for (int i = 0; i < (AES_BLOCK_SIZE - 1); i++)
{
buf_ptr[i]= buf_ptr[i] ^ iv[i];
}