unsigned int len;
digest_message ((const unsigned char *)password, strlen(password),
&hashed_sol_password, &len);
- char hashed_hex_pwd[256] = { (char) NULL };
+ char hashed_hex_pwd[256] = { '\0' };
encode_binary (hashed_hex_pwd, hashed_sol_password, len);
if (strcmp (p->hashed_solution_password, hashed_hex_pwd) == 0)
unsigned int len;
digest_message ((const unsigned char *)password, strlen(password),
&hashed_mas_password, &len);
- char hashed_hex_pwd[256] = { (char) NULL };
+ char hashed_hex_pwd[256] = { '\0' };
encode_binary (hashed_hex_pwd, hashed_mas_password, len);
if (strcmp (p->hashed_master_password, hashed_hex_pwd) == 0)