summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-03-26 10:39:46 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-03-26 10:40:38 +0100
commitfd06c67b585f971f40da3f1f3ec4ba7dd0348645 (patch)
tree404e37f4d2379ee11141ef306c835600b9da7d85 /src
parent0778d379243d29d19e8b3312bcb9a46a168d0075 (diff)
downloadweechat-fd06c67b585f971f40da3f1f3ec4ba7dd0348645.zip
relay: add size for array `relay_auth_password_hash_algo_name`
Diffstat (limited to 'src')
-rw-r--r--src/plugins/relay/relay-auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-auth.c b/src/plugins/relay/relay-auth.c
index a03dc0559..63da44d31 100644
--- a/src/plugins/relay/relay-auth.c
+++ b/src/plugins/relay/relay-auth.c
@@ -38,7 +38,7 @@
* during negotiation with the client, the highest value in this list matching
* the client supported values is used
*/
-char *relay_auth_password_hash_algo_name[] =
+char *relay_auth_password_hash_algo_name[RELAY_NUM_PASSWORD_HASH_ALGOS] =
{ "plain", "sha256", "sha512", "pbkdf2+sha256", "pbkdf2+sha512" };