From ee5bdee69a26d1bcf624dc1f91905bae05db528e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 8 Nov 2013 14:38:29 +0100 Subject: turn off timeout when the passphrase has been entered MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cerberus.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3-70-g09d2