13.11.2010, 00:29
Hey,
I have got a problem with Whirpool.
It works great when I register, but it would not let me login.
These are three versions I tried:
___________________________________________
Any ideas?
- Thanks
EDIT: pass and MySQL password field are defined as 128.
I have got a problem with Whirpool.
It works great when I register, but it would not let me login.
These are three versions I tried:
___________________________________________
pawn Код:
/*THIS ONE REDIRECTS ME TO PASSWORD DOES NOT MATCH ( }else{ )*/
new buf[129];
WP_Hash(buf, sizeof (buf), inputtext);
if(strcmp(pass, buf, true))
{
/*CORRECT PASSWORD*/
}
pawn Код:
/*THIS ONE REDIRECTS ME TO PASSWORD DOES NOT MATCH TOO ( }else{ )*/
new buf[129];
WP_Hash(buf, sizeof (buf), inputtext);
if(strcmp(buf, pass, true))
{
/*CORRECT PASSWORD*/
}
pawn Код:
/*HERE THE DIALOG JUST DISAPPEARS (No action taken)*/
new buf[129];
WP_Hash(buf, sizeof (buf), inputtext);
if(!strcmp(buf, pass, true))
{
/*CORRECT PASSWORD*/
}
- Thanks
EDIT: pass and MySQL password field are defined as 128.