commit | author | age | ||
6d2295 | 1 | --- rsync-3.2.7/authenticate.c.orig |
MT | 2 | +++ rsync-3.2.7/authenticate.c |
3 | @@ -365,7 +365,11 @@ | |
b72b22 | 4 | * |
AW | 5 | * OpenBSD has a readpassphrase() that might be more suitable. |
6 | */ | |
7 | - pass = getpass("Password: "); | |
b20c22 | 8 | +#ifdef __sun |
b72b22 | 9 | + pass = getpassphrase("Password: "); |
b20c22 | 10 | +#else |
b72b22 | 11 | + pass = getpass("Password: "); |
b20c22 | 12 | +#endif |
AP | 13 | } |
14 | ||
15 | if (!pass) |