Commit 185d204f authored by Pekka Pessi's avatar Pekka Pessi
Browse files

auth_client.c: do not use strlen() as constant

parent 2c35c210
......@@ -1130,7 +1130,7 @@ static int auc_digest_save_credentials(auth_client_t *ca,
char const *user,
char const *pass)
char prefixed[strlen("HA1+") + sizeof (auth_hexmd5_t)];
char prefixed[4 + sizeof (auth_hexmd5_t)]; /* "HA1+" and hex */
if (!ca)
return -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment