wpa_cli: Improve sensitive command detection for readline history
authorEygene Ryabinkin <rea-fbsd@codelabs.ru>
Mon, 5 Jan 2009 19:05:05 +0000 (21:05 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Jan 2009 19:07:54 +0000 (21:07 +0200)
commit40fd868c09e908241f367a5753c753e7f68d89fd
treee6aa75a8e7ba567fb45d5603829aa5917f9021f4
parent413653e839dcd9f51e9a900943acb135eec79f20
wpa_cli: Improve sensitive command detection for readline history

I had added flags to the every command description: just now the only
meaningful flag tells that this command has sensitive arguments and it
shouldn't be written to the disk.  I rewrote the logics for the search
for the sensitive commands: special procedure is now loops over all
commands and tries to see if command has sensitive data. [Bug 289]

Signed-off-by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
wpa_supplicant/wpa_cli.c