pwd-plugin: Remove 14 chars limitation from the NT hash

This commit is contained in:
Simo Sorce
2010-10-05 08:52:43 -04:00
parent 9ca7ea71b1
commit fea9181eaf
@@ -717,10 +717,6 @@ static int encode_ntlm_keys(char *newPasswd,
/* get the final ucs2 string length */
sl -= ol;
/* we are interested only in the first 14 wchars for the nt password */
if (sl > 28) {
sl = 28;
}
ret = MD4_Init(&md4ctx);
if (ret == 0) {