Fix compilation after Emile API change

This commit is contained in:
Daniel Zaoui 2016-09-11 13:14:03 +03:00
parent 365630b8db
commit fefa31d7b2
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ _file_sha1_get(const char *filename, unsigned char *result)
fprintf(stderr, "Could not create Binary Buffer"); fprintf(stderr, "Could not create Binary Buffer");
goto false; goto false;
} }
if (!emile_binbuf_sha1(key, key_len, buf, result)) if (!emile_binbuf_hmac_sha1(key, key_len, buf, result))
{ {
fprintf(stderr, "Cannot generate sha1 for image"); fprintf(stderr, "Cannot generate sha1 for image");
goto false; goto false;