forked from enlightenment/efl
parent
2b196bcc54
commit
1d1335498c
|
@ -938,7 +938,7 @@ eet_pbkdf2_sha1(const char *key,
|
||||||
HMAC_CTX hctx;
|
HMAC_CTX hctx;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
buf = malloc(salt_len + 4);
|
buf = alloca(salt_len + 4);
|
||||||
if (!buf) return 1;
|
if (!buf) return 1;
|
||||||
|
|
||||||
for (i = 1; len; len -= tmp_len, p += tmp_len, i++)
|
for (i = 1; len; len -= tmp_len, p += tmp_len, i++)
|
||||||
|
|
Loading…
Reference in New Issue