From bc495b31800ff0fe78752aca481b75f6c3fc8fd8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 19 Nov 2013 23:12:03 +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/passphrase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/passphrase.c b/src/passphrase.c index 50c957f..c508b85 100644 --- a/src/passphrase.c +++ b/src/passphrase.c @@ -58,7 +58,7 @@ char* get_passphrase(void) _exit(1); } - /* Read password until EOF or Enter, skip all ^0 as that + /* Read password until EOF or Enter, skip all \0 as that is probably not a part of the passphrase (good luck typing that in X.org) and can be echoed into stdin by the kernel. */ for (;;) -- cgit v1.2.3-70-g09d2