mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 16:31:08 -06:00
pwd-plugin: Remove 14 chars limitation from the NT hash
This commit is contained in:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user