Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-12692
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Oct 20, 2023
1 parent e1a0864 commit 0dc1be1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RADIUS_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -1008,10 +1008,10 @@ namespace OpenWifi::RADIUS {
P_.identifier = std::rand() & 0x00ff;
MakeRadiusAuthenticator(P_.authenticator);
unsigned char MessageAuthenticator[16]{0};
// AddAttribute(RADIUS::Attributes::PROXY_STATE, 6, (const unsigned char *)"status" );
AddAttribute(RADIUS::Attributes::PROXY_STATE, 6, (const unsigned char *)"status" );
AddAttribute(RADIUS::Attributes::MESSAGE_AUTHENTICATOR, sizeof(MessageAuthenticator),
MessageAuthenticator);
int PktLen = 1 + 1 + 2 + 16 + 1 + 1 + 16;
int PktLen = 1 + 1 + 2 + 16 + 1 + 1 + 16 + 1 + 1 + 6;
P_.rawlen = htons(PktLen);

Poco::HMACEngine<Poco::MD5Engine> H(Secret_);
Expand Down

0 comments on commit 0dc1be1

Please sign in to comment.