Lines Matching defs:response
12 RADIUS_PACKET *response;
40 response = radius_new_response_packet(RADIUS_CODE_ACCESS_ACCEPT, packet);
41 radius_put_string_attr(response, 10, "foobarbaz");
42 radius_put_message_authenticator(response, "sharedsecret");
44 radius_get_authenticator(response, responsedata + 4);
53 CHECK(radius_get_length(response) == sizeof(responsedata));
54 CHECK(memcmp(radius_get_data(response), responsedata, sizeof(responsedata)) == 0);
55 CHECK(radius_check_message_authenticator(response, "sharedsecret") == 0);
59 radius_set_raw_attr(response, 10, "zapzapzap", 9);
60 CHECK(radius_check_message_authenticator(response, "sharedsecret") != 0);