Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c64 char *oldpass_crypt = NULL; in cryptoldpasswd() local
66 if ((oldpass_crypt = crypt(oldpass, salt)) == NULL) { in cryptoldpasswd()
78 return (oldpass_crypt); in cryptoldpasswd()
98 char *oldpass_crypt = NULL; in changepasswd() local
436 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, newpw.pw_passwd, in changepasswd()
438 if (oldpass_crypt == NULL) { in changepasswd()
447 (strcmp(oldpass_crypt, newpw.pw_passwd) != 0)) in changepasswd()
449 oldpass_crypt = NULL; in changepasswd()
473 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, ospwd.sp_pwdp, in changepasswd()
475 if (oldpass_crypt == NULL) in changepasswd()
[all …]