summaryrefslogtreecommitdiff
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 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
171char * 170char *
@@ -179,6 +178,6 @@ getpass(const char *prompt)
179 178
180static void handler(int s) 179static void handler(int s)
181{ 180{
182
183 signo = s; 181 signo = s;
184} 182}
183#endif /* HAVE_READPASSPHRASE */