View | Details | Raw Unified | Return to bug 202002
Collapse All | Expand All

(-)lib/rakp.c (-1 / +1 lines)
Lines 482-488 Link Here
482
	return EINVAL;
482
	return EINVAL;
483
    HMAC(rinfo->evp_md, p, rinfo->key_len, idata, 58+idata[57], integ_data, &ilen);
483
    HMAC(rinfo->evp_md, p, rinfo->key_len, idata, 58+idata[57], integ_data, &ilen);
484
    if (memcmp(data+40, integ_data, rinfo->key_len) != 0)
484
    if (memcmp(data+40, integ_data, rinfo->key_len) != 0)
485
	return EKEYREJECTED;
485
	return EINVAL;
486
486
487
    /* Now generate the SIK */
487
    /* Now generate the SIK */
488
    p = ipmi_rmcpp_auth_get_my_rand(info->ainfo, &plen);
488
    p = ipmi_rmcpp_auth_get_my_rand(info->ainfo, &plen);

Return to bug 202002