Fix previous commit.

GitOrigin-RevId: 4dc50e35d0b5e5a42da9e77716b8fd0cf57367a4
This commit is contained in:
levlam 2018-08-14 17:02:12 +03:00
parent b05413262b
commit 846290dac5

View File

@ -423,7 +423,7 @@ static void pbkdf2_impl(Slice password, Slice salt, int iteration_count, Mutable
HMAC_CTX_cleanup(&ctx);
if (iteration_count > 1) {
CHECK(hash_size <= 64)
CHECK(hash_size <= 64);
unsigned char buf[64];
std::copy(dest.ubegin(), dest.uend(), buf);
for (int iter = 1; iter < iteration_count; iter++) {