You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the word 'try' is keyword of c++, i modify it and now compile ok:
static int pass_matches(const char _pass, const char _try)
{
int des;
if ((des = !strncasecmp(pass, DES_PREFIX, sizeof(DES_PREFIX)-1)))
pass += sizeof(DES_PREFIX)-1;
ifndef WIN32
/*
* TODO - find a small crypt(3) function for use on windows
*/
if (des || !strncmp(pass, MD5_PREFIX, sizeof(MD5_PREFIX)-1))
**try** = crypt(**try**, pass);
endif
return !strcmp(pass, **try**);
}
The text was updated successfully, but these errors were encountered:
the word 'try' is keyword of c++, i modify it and now compile ok:
static int pass_matches(const char _pass, const char _try)
{
int des;
if ((des = !strncasecmp(pass, DES_PREFIX, sizeof(DES_PREFIX)-1)))
pass += sizeof(DES_PREFIX)-1;
ifndef WIN32
endif
}
The text was updated successfully, but these errors were encountered: