$NetBSD: patch-ab,v 1.5 2023/03/11 01:54:01 gdt Exp $ Part of not using internal getpassword. --- getpass.c.orig 2013-05-15 16:50:30.000000000 +0000 +++ getpass.c @@ -44,6 +44,7 @@ #include "getpass.h" #include "shs.h" +#ifndef HAVE_GETPASS /* hacks to use POSIX style termios instead of old BSD style sgttyb */ /* Should be simply replaced with POSIX functions when possible */ #include @@ -92,6 +93,7 @@ getpassword(char *prompt) fclose(fi); return (pbuf[0] == '\0' ? NULL : pbuf); } +#endif int old_pwcrunch(char *b, cfs_admkey *k)