- Timestamp:
- 2009-04-28T14:18:19+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/common-src/src/getpw/getpw.cpp
r19275 r19279 79 79 for (i=0; i<3; i++) { 80 80 #if defined(__WIN32__) 81 c out<< "Enter password (will appear on screen): ";81 cerr << "Enter password (will appear on screen): "; 82 82 char a[129]; 83 83 cin.getline(a, 128); … … 95 95 96 96 #if defined(__WIN32__) 97 c out<< "Re-enter password: ";97 cerr << "Re-enter password: "; 98 98 char b[129]; 99 99 cin.getline(b, 128); … … 116 116 } 117 117 118 char* p = c; 119 while (*p != 0) { 120 cerr << "char:" << *p << endl; 121 p++; 122 } 123 118 124 char *salt = "Tp"; 119 125 char *pw = crypt (c, salt);
Note:
See TracChangeset
for help on using the changeset viewer.