aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term
diff options
context:
space:
mode:
authorMathieu Lonjaret <mathieu.lonjaret@gmail.com>2011-08-26 16:40:04 -0400
committerRuss Cox <rsc@swtch.com>2011-08-26 16:40:04 -0400
commit13666ca73ef0c29e9f4c6870899943578e637730 (patch)
tree4d2e0ffe84bd1853c237914d68a2e92ff8f54100 /src/cmd/9term
parentb6863de7e1b95fd68623e1a03eca6d3aebc4732e (diff)
downloadplan9port-13666ca73ef0c29e9f4c6870899943578e637730.tar.gz
plan9port-13666ca73ef0c29e9f4c6870899943578e637730.tar.bz2
plan9port-13666ca73ef0c29e9f4c6870899943578e637730.zip
win: hide not just passwords but also passphrases
R=rsc, nicolesimons1986 CC=plan9port.codebot http://codereview.appspot.com/4957042
Diffstat (limited to 'src/cmd/9term')
-rw-r--r--src/cmd/9term/win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/win.c b/src/cmd/9term/win.c
index fd8e3998..e5d21416 100644
--- 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;