summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/readpassphrase.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c
index 11bd8f646..16e07e816 100644
--- a/openbsd-compat/readpassphrase.c
+++ b/openbsd-compat/readpassphrase.c
@@ -152,6 +152,7 @@ restart:
152 (void)sigaction(SIGTERM, &saveterm, NULL); 152 (void)sigaction(SIGTERM, &saveterm, NULL);
153 (void)sigaction(SIGTSTP, &savetstp, NULL); 153 (void)sigaction(SIGTSTP, &savetstp, NULL);
154 (void)sigaction(SIGTTIN, &savettin, NULL); 154 (void)sigaction(SIGTTIN, &savettin, NULL);
155 (void)sigaction(SIGTTOU, &savettou, NULL);
155 if (input != STDIN_FILENO) 156 if (input != STDIN_FILENO)
156 (void)close(input); 157 (void)close(input);
157 158
@@ -172,7 +173,7 @@ restart:
172 errno = save_errno; 173 errno = save_errno;
173 return(nr == -1 ? NULL : buf); 174 return(nr == -1 ? NULL : buf);
174} 175}
175 176
176#if 0 177#if 0
177char * 178char *
178getpass(const char *prompt) 179getpass(const char *prompt)