When sending a packet, ensure that the authentication vector
authoraland <aland>
Tue, 28 Aug 2001 22:59:33 +0000 (22:59 +0000)
committeraland <aland>
Tue, 28 Aug 2001 22:59:33 +0000 (22:59 +0000)
commit5def937ea1aeb081201757af4f7fa4a0f7ca73c1
tree38b86034cc45c56a6e8d0e51a7ad16841ecc75d0
parent21091cbc5fbc9fc0169edbb2f4c46888b5514ffd
When sending a packet, ensure that the authentication vector
from the packet sent on the wire is copied to the vector entry
in the RADIUS_PACKET data structure.  This allows us to later use
that vector for verification.

Re-arranged the verification code, so that the Message-Authenticator
(if present) is verified prior to the authentication vector.  This
allows the Message-Authenticator verification code to set the
contents of the attribute to zeros, which is what their contents
are when the authentication vector is calculated.

Calculate the Accounting-Response authentication vector, in
exactly the same was for the Authentication-Accept and
Authentication-Reject vectors
src/lib/radius.c