diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-08 14:38:29 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-08 14:38:29 +0100 |
commit | ee5bdee69a26d1bcf624dc1f91905bae05db528e (patch) | |
tree | 53b9ce56062012c789dd82af1b9ee1cfab4c81ee | |
parent | change that the username has been specified (diff) | |
download | libpassphrase-ee5bdee69a26d1bcf624dc1f91905bae05db528e.tar.gz libpassphrase-ee5bdee69a26d1bcf624dc1f91905bae05db528e.tar.bz2 libpassphrase-ee5bdee69a26d1bcf624dc1f91905bae05db528e.tar.xz |
turn off timeout when the passphrase has been entered
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/cerberus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cerberus.c b/src/cerberus.c index fb34321..435a3a7 100644 --- a/src/cerberus.c +++ b/src/cerberus.c @@ -145,6 +145,8 @@ int main(int argc, char** argv) printf("\n"); } + /* Passphrase entered, turn off timeout */ + alarm(0); /* Wipe the passphrase from the memory */ if (skip_auth == 0) |