Clear wpa_supplicant configuration keys explicitly
authorJouni Malinen <j@w1.fi>
Sun, 29 Jun 2014 22:32:07 +0000 (01:32 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 09:38:48 +0000 (12:38 +0300)
commit19c48da06b6980915e97a84ea8387a9db858c662
treeb3dae01750327b49d6e661fc13a23b79d7a032a6
parent28bfa291170edfbd7cf24a616eebbf8b5b52e319
Clear wpa_supplicant configuration keys explicitly

Use an explicit memset call to clear any wpa_supplicant configuration
parameter that contains private information like keys or identity. This
brings in an additional layer of protection by reducing the length of
time this type of private data is kept in memory.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_peer/eap_config.h
src/utils/common.c
src/utils/common.h
src/utils/ext_password_test.c
wpa_supplicant/config.c
wpa_supplicant/wpa_supplicant.c