diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-11-18 16:49:26 +0100 | 
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-11-18 16:49:26 +0100 | 
| commit | bca94977c00937cc26bf55699ed8785f72b0362f (patch) | |
| tree | 9c794f4dfc696275852a90e430ba986a76153be3 /src | |
| parent | m (diff) | |
| download | libpassphrase-bca94977c00937cc26bf55699ed8785f72b0362f.tar.gz libpassphrase-bca94977c00937cc26bf55699ed8785f72b0362f.tar.bz2 libpassphrase-bca94977c00937cc26bf55699ed8785f72b0362f.tar.xz | |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
| -rw-r--r-- | src/cerberus.c | 8 | 
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)      { | 
