Searched refs:pwlen_wchars (Results 1 – 1 of 1) sorted by relevance
377 size_t pwlen_wchars; in samr_fill_userpw() local395 pwlen_wchars = smb_wcequiv_strlen(new_pw) / 2; in samr_fill_userpw()396 if (pwlen_wchars > SAMR_USER_PWLEN) in samr_fill_userpw()397 pwlen_wchars = SAMR_USER_PWLEN; in samr_fill_userpw()398 pwlen_bytes = pwlen_wchars * 2; in samr_fill_userpw()400 pbuf = &upw->Buffer[SAMR_USER_PWLEN - pwlen_wchars]; in samr_fill_userpw()401 (void) smb_mbstowcs(pbuf, new_pw, pwlen_wchars); in samr_fill_userpw()