plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 13666ca73ef0c29e9f4c6870899943578e637730
parent b6863de7e1b95fd68623e1a03eca6d3aebc4732e
Author: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
Date:   Fri, 26 Aug 2011 16:40:04 -0400

win: hide not just passwords but also passphrases

R=rsc, nicolesimons1986
CC=plan9port.codebot
http://codereview.appspot.com/4957042

Diffstat:
Msrc/cmd/9term/win.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/9term/win.c b/src/cmd/9term/win.c @@ -541,7 +541,7 @@ stdoutproc(void *v) // clumsy but effective: notice password // prompts so we can disable echo. password = 0; - if(cistrstr(buf, "password")) { + if(cistrstr(buf, "password") || cistrstr(buf, "passphrase")) { int i; i = n;