aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-18 16:49:26 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-18 16:49:26 +0100
commitbca94977c00937cc26bf55699ed8785f72b0362f (patch)
tree9c794f4dfc696275852a90e430ba986a76153be3
parentm (diff)
downloadlibpassphrase-bca94977c00937cc26bf55699ed8785f72b0362f.tar.gz
libpassphrase-bca94977c00937cc26bf55699ed8785f72b0362f.tar.bz2
libpassphrase-bca94977c00937cc26bf55699ed8785f72b0362f.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/cerberus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cerberus.c b/src/cerberus.c
index 59bddfe..538b5f9 100644
--- a/src/cerberus.c
+++ b/src/cerberus.c
@@ -121,6 +121,10 @@ int main(int argc, char** argv)
/* Done early to make to program look like it is even faster than it is */
+ /* Make sure nopony is spying */
+ secure_tty();
+
+
/* Set up clean quiting and time out */
signal(SIGALRM, timeout_quit);
signal(SIGQUIT, user_quit);
@@ -131,10 +135,6 @@ int main(int argc, char** argv)
alarm(TIMEOUT_SECONDS);
- /* Make sure nopony is spying */
- secure_tty();
-
-
/* Get the passphrase, if -f has not been used */
if (skip_auth == 0)
{