3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

erp: Fix missing comma

Fixes: fbe8b7a3c0 ("crypto: Add prf_plus function")
This commit is contained in:
Denis Kenzior 2021-07-27 13:59:34 -05:00
parent 64211c292d
commit 87dde21ec5

View File

@ -315,7 +315,7 @@ static bool erp_derive_reauth_keys(const uint8_t *emsk, size_t emsk_len,
return false; return false;
if (!prf_plus(L_CHECKSUM_SHA256, r_rk, emsk_len, ERP_RIK_LABEL, if (!prf_plus(L_CHECKSUM_SHA256, r_rk, emsk_len, ERP_RIK_LABEL,
r_ik, emsk_len, 2 r_ik, emsk_len, 2,
&cryptosuite, 1, &len, sizeof(len))) &cryptosuite, 1, &len, sizeof(len)))
return false; return false;