-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove WEP security Green Tea Test case as the WEP security Key are sequence of Hex Values #13654
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
Remove WEP security Green Tea Test case as the WEP security Key are sequence of Hex Values #13654
Conversation
@balajicyp, thank you for your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a reason for removal to the commit message.
I do not fully understand why "" is being removed ?
Hi @0xc0170 The In the implementation of the
Thanks |
Thanks , that helps me to understand this fix. Please amend the commit message and add details. |
I have updated the commit message, please check if it is ok. Thank you |
Anything else you need from me for this issue? Thanks |
I don't see the commit message updated, please review. Once done, let us know, we shall start CI |
@0xc0170 , I have updated the "Summary of Changes " sections to below please review the same Remove WEP security Test Case with NULL as WEP security Key are sequence of Hex Values , the character "NULL" is (0x00) it is a valid value ( for ex: this is key index, followed by length and hex key array). Thanks |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Remove WEP security Test Case with NULL as WEP security Key are sequence of Hex Values , the character "NULL" is (0x00) it is a valid value ( for ex: this is key index, followed by length and hex key array).
Impact of changes
Remove the test case for NULL( "" )key with NSAPI_SECURITY_WEP to test return value with NSAPI_ERROR_PARAMETER
The
set_credentials(const char *ssid, const char *pass, nsapi_security_t security)
API has no key length, the key length is derived by using strlen(pass), which works if the pass ( is a string) , but in case of NSAPI_SECURITY_WEP and NSAPI_SECURITY_WPA2_ENT, the key does not happen to be string but a hex char array.WEP security Key are sequence of Hex Values , the character "NULL" is (0x00) it is a valid value ( for ex: this is key index, followed by length and hex key array).
The key index 0 , 1, 2, 3 are keys used for an WiFi Access point.
Migration actions required
Documentation
Pull request type
Test results
Reviewers