diff options
author | Damien Miller <djm@mindrot.org> | 2002-05-01 22:00:22 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-05-01 22:00:22 +1000 |
commit | 804357ace9afe63c402bb4bfc09d974b82a42d70 (patch) | |
tree | 1275685a86ff4892b848881178fd9491095a3c21 | |
parent | 38cd4358921bd674cace17d6bae71143b716027d (diff) |
- (djm) Fix readpassphase compilation for systems which have it
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | openbsd-compat/readpassphrase.c | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,6 @@ | |||
1 | 20020501 | 1 | 20020501 |
2 | - (djm) Import OpenBSD regression tests. Requires BSD make to run | 2 | - (djm) Import OpenBSD regression tests. Requires BSD make to run |
3 | - (djm) Fix readpassphase compilation for systems which have it | ||
3 | 4 | ||
4 | 20020429 | 5 | 20020429 |
5 | - (tim) [contrib/caldera/openssh.spec] update fixUP to reflect changes in | 6 | - (tim) [contrib/caldera/openssh.spec] update fixUP to reflect changes in |
@@ -524,4 +525,4 @@ | |||
524 | - (stevesk) entropy.c: typo in debug message | 525 | - (stevesk) entropy.c: typo in debug message |
525 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ | 526 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ |
526 | 527 | ||
527 | $Id: ChangeLog,v 1.2090 2002/05/01 03:17:33 djm Exp $ | 528 | $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: | |||
165 | errno = save_errno; | 165 | errno = save_errno; |
166 | return(nr == -1 ? NULL : buf); | 166 | return(nr == -1 ? NULL : buf); |
167 | } | 167 | } |
168 | #endif /* HAVE_READPASSPHRASE */ | ||
169 | 168 | ||
170 | #if 0 | 169 | #if 0 |
171 | char * | 170 | char * |
@@ -179,6 +178,6 @@ getpass(const char *prompt) | |||
179 | 178 | ||
180 | static void handler(int s) | 179 | static void handler(int s) |
181 | { | 180 | { |
182 | |||
183 | signo = s; | 181 | signo = s; |
184 | } | 182 | } |
183 | #endif /* HAVE_READPASSPHRASE */ | ||