Commit c60b52ab authored by Guenter Knauf's avatar Guenter Knauf
Browse files

use system-own getpassword() function on NetWare.

parent 71a0d50f
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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