1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

script: use SHA-512 instead of MD5 for script checksum

Related to weechat/weechat.org@66a8b72ab1
This commit is contained in:
Sébastien Helleu
2019-02-28 20:55:10 +01:00
parent d290de2cba
commit c91e47c414
24 changed files with 85 additions and 81 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ script_mouse_focus_chat_cb (const void *pointer, void *data,
weechat_hashtable_set (info, "script_requirements", ptr_script->requirements);
weechat_hashtable_set (info, "script_min_weechat", ptr_script->min_weechat);
weechat_hashtable_set (info, "script_max_weechat", ptr_script->max_weechat);
weechat_hashtable_set (info, "script_md5sum", ptr_script->md5sum);
weechat_hashtable_set (info, "script_sha512sum", ptr_script->sha512sum);
weechat_hashtable_set (info, "script_url", ptr_script->url);
tm = localtime (&ptr_script->date_added);
if (strftime (str_date, sizeof (str_date), "%Y-%m-%d %H:%M:%S", tm) == 0)