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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user