fix(core): fix compilation of pkcs5_pbkdf2.c

feature/mail-identities
Francis Lachapelle 2020-06-16 11:54:19 -04:00
parent 348a40837a
commit d39208efa0
1 changed files with 4 additions and 4 deletions

View File

@ -126,11 +126,11 @@ pkcs5_pbkdf2(const char *pass, size_t pass_len, const uint8_t *salt,
key += r;
key_len -= r;
};
explicit_bzero(asalt, salt_len + 4);
bzero(asalt, salt_len + 4);
free(asalt);
explicit_bzero(d1, sizeof(d1));
explicit_bzero(d2, sizeof(d2));
explicit_bzero(obuf, sizeof(obuf));
bzero(d1, sizeof(d1));
bzero(d2, sizeof(d2));
bzero(obuf, sizeof(obuf));
return 0;