Marcel Telka
2024-02-05 6d2295786079f61a2c6b71640757c2c023348c58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- rsync-3.2.7/authenticate.c.orig
+++ rsync-3.2.7/authenticate.c
@@ -365,7 +365,11 @@
          *
          * OpenBSD has a readpassphrase() that might be more suitable.
          */
-        pass = getpass("Password: ");
+#ifdef __sun
+        pass = getpassphrase("Password: ");
+#else
+        pass = getpass("Password: ");
+#endif
     }
 
     if (!pass)