cfg80211: clear wext keys when freeing and removing them
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Sep 2014 10:39:56 +0000 (13:39 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Sep 2014 10:07:28 +0000 (12:07 +0200)
When freeing the keys stored for wireless extensions, clear the memory
to avoid having the key material stick around in memory "forever".
Similarly, when userspace overwrites a key, actually clear it instead
of just setting the key length to zero.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found