Changeset 29602 in vbox
- Timestamp:
- May 18, 2010 9:00:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/process-posix.cpp
r29582 r29602 40 40 #include <signal.h> 41 41 #if defined(RT_OS_LINUX) 42 # include <crypt.h> 42 43 # include <pwd.h> 43 44 # include <shadow.h> … … 93 94 pw->pw_passwd = spwd->sp_pwdp; 94 95 95 char *pszEncPasswd = crypt(pszPasswd, pw->pw_passwd); 96 struct crypt_data data; 97 char *pszEncPasswd = crypt_r(pszPasswd, pw->pw_passwd, &data); 96 98 if (strcmp(pszEncPasswd, pw->pw_passwd)) 97 99 return VERR_PERMISSION_DENIED;
Note:
See TracChangeset
for help on using the changeset viewer.