Searched refs:pwlen_wchars (Results 1 – 1 of 1) sorted by relevance
372 size_t pwlen_wchars; in samr_fill_userpw() local390 pwlen_wchars = smb_wcequiv_strlen(new_pw) / 2; in samr_fill_userpw()391 if (pwlen_wchars > SAMR_USER_PWLEN) in samr_fill_userpw()392 pwlen_wchars = SAMR_USER_PWLEN; in samr_fill_userpw()393 pwlen_bytes = pwlen_wchars * 2; in samr_fill_userpw()395 pbuf = &upw->Buffer[SAMR_USER_PWLEN - pwlen_wchars]; in samr_fill_userpw()396 (void) smb_mbstowcs(pbuf, new_pw, pwlen_wchars); in samr_fill_userpw()