Lines Matching refs:radius_msg
253 static char radius_msg[BUF_LEN]; in radius_pap_auth() local
255 radius_msg[0] = 0; in radius_pap_auth()
256 *msgp = radius_msg; in radius_pap_auth()
258 if (radius_init(radius_msg) < 0) { in radius_pap_auth()
299 &received, radius_msg, NULL); in radius_pap_auth()
301 result = rc_auth(rstate.client_port, send, &received, radius_msg, NULL); in radius_pap_auth()
305 if (radius_setparams(received, radius_msg, NULL, NULL, NULL, NULL, 0) < 0) { in radius_pap_auth()
341 static char radius_msg[BUF_LEN]; in radius_chap_verify() local
355 radius_msg[0] = 0; in radius_chap_verify()
357 if (radius_init(radius_msg) < 0) { in radius_chap_verify()
358 error("%s", radius_msg); in radius_chap_verify()
470 &received, radius_msg, req_info); in radius_chap_verify()
472 result = rc_auth(rstate.client_port, send, &received, radius_msg, in radius_chap_verify()
476 strlcpy(message, radius_msg, message_space); in radius_chap_verify()
480 if (radius_setparams(received, radius_msg, req_info, digest, in radius_chap_verify()
482 error("%s", radius_msg); in radius_chap_verify()