1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00

core: add support of base64url in encode/decode functions (issue #2066)

This commit is contained in:
Sébastien Helleu
2024-01-14 14:27:26 +01:00
parent 6cfb31c306
commit f126255d6a
20 changed files with 270 additions and 188 deletions
+1 -1
View File
@@ -765,7 +765,7 @@ script_repo_sha512sum_file (const char *filename)
if (!weechat_crypto_hash_file (filename, "sha512", hash, &hash_size))
return NULL;
weechat_string_base_encode (16, hash, hash_size, hash_hexa);
weechat_string_base_encode ("16", hash, hash_size, hash_hexa);
return weechat_string_tolower (hash_hexa);
}