Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding Hex fix #145

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

nayanacdac
Copy link
Contributor

Issue:
An authentication failure occurred during the encoding of the sequence string in the GenerateAuthDataProcedure function when using the strictHex function.

Troubleshoot:
The failure was traced to the presence of a newline character generated while converting the sequence number to hex. This occurred due to the use of Sprintln in the strictHex function.

Fix:
The issue was resolved by replacing Sprintln with Sprint in the strictHex function.

Supporting Data:
invalid-sqnStr.zip

Signed-off-by: Nayanacdac <nayana.n@cdac.in>
Copy link
Contributor

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, no additional characters such as new line should be added

@gab-arrobo gab-arrobo merged commit 2648482 into omec-project:master Sep 24, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants