Skip to content
Commit 8de85704 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: aes_cmac: check crypto_shash_setkey() return value



As crypto_shash_setkey() can fail, we should check the return value.

Addresses-Coverity-ID: 1401813 ("Unchecked return value")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210409123755.533ff7acf1d2.I034bafa201c4a6823333f8410aeaa60cca5ee9e0@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent bab7f5ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment