Home
last modified time | relevance | path

Searched refs:pwlen_wchars (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamlib.c372 size_t pwlen_wchars; in samr_fill_userpw() local
390 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()