summaryrefslogtreecommitdiff
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
parent38cd4358921bd674cace17d6bae71143b716027d (diff)
downloadopenssh-git-804357ace9afe63c402bb4bfc09d974b82a42d70.tar.gz
- (djm) Fix readpassphase compilation for systems which have it
-rw-r--r--ChangeLog3
-rw-r--r--openbsd-compat/readpassphrase.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b5dfa500..bc4d6d63 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 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 */