# HG changeset patch # User Sebastien Decugis # Date 1278308195 -32400 # Node ID ea6823f46fe87305aec2dee7dde8bc69b6055470 # Parent 40507b3750daf71b1931843d7c9e01df0387d3b5 Cleanup removed unused request authenticator diff -r 40507b3750da -r ea6823f46fe8 extensions/app_radgw/rgwx_acct.c --- a/extensions/app_radgw/rgwx_acct.c Mon Jul 05 11:36:38 2010 +0900 +++ b/extensions/app_radgw/rgwx_acct.c Mon Jul 05 14:36:35 2010 +0900 @@ -153,7 +153,6 @@ /* The state we store in the session */ struct sess_state { - uint8_t req_auth[16]; /* The request authenticator */ application_id_t auth_appl; /* Auth-Application-Id used for this session, if available (stored in a Class attribute) */ int send_str; /* If not 0, we must send a STR when the ACA is received. */ uint32_t term_cause; /* If not 0, the Termination-Cause to put in the STR. */ @@ -1163,7 +1162,6 @@ CHECK_MALLOC( st = malloc(sizeof(struct sess_state)) ); memset(st, 0, sizeof(struct sess_state)); - memcpy(&st->req_auth, &rad_req->hdr->authenticator[0], 16); st->auth_appl = auth_appl; if (auth_appl) { /* We use the value 0 for servers which indicated NO STATE MAINTAINED, hence have no need for STR */ st->send_str = send_str;