Clear hostapd configuration keys explicitly
authorJouni Malinen <j@w1.fi>
Tue, 1 Jul 2014 22:45:45 +0000 (01:45 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 09:38:48 +0000 (12:38 +0300)
commitb7175b4d02d11b5450e9743f1b9728ed6aa2ec23
tree6400f1d1d4c0be2759b06c0ff19bcd7d23a095a4
parentd1ecca6c15311ff192841e78ebf2b338f2fc31cd
Clear hostapd configuration keys explicitly

Use an explicit memset call to clear any hostapd 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/ap/ap_config.c
src/ap/eap_user_db.c
src/ap/hostapd.c
src/radius/radius_server.c