summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/readpassphrase.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-05-01 22:00:22 +1000
committerDamien Miller <djm@mindrot.org>2002-05-01 22:00:22 +1000
commit804357ace9afe63c402bb4bfc09d974b82a42d70 (patch)
tree1275685a86ff4892b848881178fd9491095a3c21 /openbsd-compat/readpassphrase.c
parent38cd4358921bd674cace17d6bae71143b716027d (diff)
- (djm) Fix readpassphase compilation for systems which have it
Diffstat (limited to 'openbsd-compat/readpassphrase.c')
-rw-r--r--openbsd-compat/readpassphrase.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c
index 76877103..8c2f5f84 100644
--- a/openbsd-compat/readpassphrase.c
+++ b/openbsd-compat/readpassphrase.c
@@ -165,7 +165,6 @@ restart:
errno = save_errno;
return(nr == -1 ? NULL : buf);
}
-#endif /* HAVE_READPASSPHRASE */
#if 0
char *
@@ -179,6 +178,6 @@ getpass(const char *prompt)
static void handler(int s)
{
-
signo = s;
}
+#endif /* HAVE_READPASSPHRASE */