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 --- ChangeLog | 3 ++- openbsd-compat/readpassphrase.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b5dfa5009..bc4d6d63c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 20020501 - (djm) Import OpenBSD regression tests. Requires BSD make to run + - (djm) Fix readpassphase compilation for systems which have it 20020429 - (tim) [contrib/caldera/openssh.spec] update fixUP to reflect changes in @@ -524,4 +525,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2090 2002/05/01 03:17:33 djm Exp $ +$Id: ChangeLog,v 1.2091 2002/05/01 12:00:22 djm Exp $ 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