1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

core: move crypto functions to wee-crypto.c, rename API function string_hash to crypto_hash

This commit is contained in:
Sébastien Helleu
2020-03-01 18:02:39 +01:00
parent c4ef3d6c2e
commit 9a6a27ef58
32 changed files with 1094 additions and 1017 deletions
+1 -1
View File
@@ -774,7 +774,7 @@ script_repo_sha512sum_file (const char *filename)
}
fclose (file);
if (!weechat_string_hash (data, st.st_size, "sha512", hash, &length_hash))
if (!weechat_crypto_hash (data, st.st_size, "sha512", hash, &length_hash))
{
free (data);
return NULL;