fr_box_strvalue_buffer(normalised_username));
/* Recalculate hash */
- vp_challenge = fr_pair_find_by_da(&request->request_pairs, NULL, attr_ms_chap_challenge);
+ vp_challenge = fr_pair_find_by_da_nested(&request->request_pairs, NULL, attr_ms_chap_challenge);
if (!vp_challenge) {
RERROR("Unable to get MS-CHAP-Challenge");
goto release;
}
- vp_response = fr_pair_find_by_da(&request->request_pairs, NULL, attr_ms_chap2_response);
+ vp_response = fr_pair_find_by_da_nested(&request->request_pairs, NULL, attr_ms_chap2_response);
if (!vp_response) {
RERROR("Unable to get MS-CHAP2-Response");
goto release;
unsigned int t;
#endif
- response = fr_pair_find_by_da(&request->request_pairs, NULL, attr_ms_chap2_response);
+ response = fr_pair_find_by_da_nested(&request->request_pairs, NULL, attr_ms_chap2_response);
username_string = talloc_array(request, char, usernamepair->vp_length + 1);
if (!username_string) RETURN_MODULE_FAIL;