aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/getpass.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/getpass.c b/src/getpass.c
index 6db1e8477..0fb575ea7 100644
--- a/src/getpass.c
+++ b/src/getpass.c
@@ -124,6 +124,16 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
#define DONE
#endif /* WIN32 */
+#ifdef NETWARE
+/* NetWare implementation */
+#include <screen.h>
+char *getpass_r(const char *prompt, char *buffer, size_t buflen)
+{
+ return(getpassword(prompt, buffer, buflen));
+}
+#define DONE
+#endif /* WIN32 */
+
#ifndef DONE /* not previously provided */
#ifdef HAVE_TERMIOS_H