Skip to content

Commit

Permalink
fix bugs in new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Jul 8, 2024
1 parent aa7cbcc commit 1d84ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tunnels/shared/reality/reality_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static shift_buffer_t *genericEncrypt(shift_buffer_t *in, EVP_CIPHER_CTX *encryp

uint32_t iv[kIVlen/ sizeof(uint32_t)]; // uint32_t because we need 32 mem alignment

for (int i = 0; i < (int) (kIVlen / sizeof(uint16_t)); i++)
for (int i = 0; i < (int) (kIVlen / sizeof(uint32_t)); i++)
{
((uint32_t *) iv)[i] = fastRand32();
}
Expand Down

0 comments on commit 1d84ce9

Please sign in to comment.