From 804357ace9afe63c402bb4bfc09d974b82a42d70 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 1 May 2002 22:00:22 +1000 Subject: - (djm) Fix readpassphase compilation for systems which have it --- openbsd-compat/readpassphrase.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbsd-compat/readpassphrase.c') diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c index 768771037..8c2f5f841 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 */ -- cgit v1.2.3