summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-repo.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-01-14 14:27:26 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-02-01 21:39:21 +0100
commitf126255d6ab62704d96a1fe490661969afc5a51e (patch)
treeb637e98f51e6027fce4fb72cd4db2af4f128c532 /src/plugins/script/script-repo.c
parent6cfb31c306b9deb120a9fb5c564a1456a72af665 (diff)
downloadweechat-f126255d6ab62704d96a1fe490661969afc5a51e.zip
core: add support of base64url in encode/decode functions (issue #2066)
Diffstat (limited to 'src/plugins/script/script-repo.c')
-rw-r--r--src/plugins/script/script-repo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/script/script-repo.c b/src/plugins/script/script-repo.c
index 446896f0b..5c45ab5a0 100644
--- a/src/plugins/script/script-repo.c
+++ b/src/plugins/script/script-repo.c
@@ -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);
}