pwd-plugin: Remove 14 chars limitation from the NT hash
This commit is contained in:
1 parent
9ca7ea71b1
commit
fea9181eaf
1 file changed
-4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user