|
|
strcpy(passwd, "12345678"); | strcpy(passwd, "12345678"); |
strcpy(salt, "12345678"); | strcpy(salt, "12345678"); |
| |
strcpy(c_out1, crypt(passwd, salt)); |
strcpy(c_out1, (const char *) crypt(passwd, salt)); |
salt[2] = '\0'; | salt[2] = '\0'; |
strcpy(c_out2, crypt(passwd, salt)); |
strcpy(c_out2, (const char *) crypt(passwd, salt)); |
| |
/* | /* |
* If the non-trucated salt fails but the | * If the non-trucated salt fails but the |