From bca94977c00937cc26bf55699ed8785f72b0362f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Nov 2013 16:49:26 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cerberus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2