From f126255d6ab62704d96a1fe490661969afc5a51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 14 Jan 2024 14:27:26 +0100 Subject: core: add support of base64url in encode/decode functions (issue #2066) --- src/plugins/script/script-repo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/script/script-repo.c') 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); } -- cgit v1.2.3