Commit Graph

16 Commits (fece41d05a38e23b511db4e9dd2d76cef647fe80)

Author SHA1 Message Date
Martin Kojtal 00aee87ef2
Merge pull request #13654 from balajicyp/topic/wep_security_fix_testcase_update
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.
2020-10-19 08:10:05 +01:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Balaji Subramanyam e25fdf298e Remove WEP security Green Tea Test case with NULL 2020-09-21 18:39:01 -07:00
Martin Kojtal ef43cb52cb
Merge pull request #13518 from talorion/feature-custom-cert-tls-tests
add option for a custom cert in connectivity-netsocket-netsocket-tls
2020-09-09 10:14:14 +01:00
Gregor Mayramhof 864308e020 add option for a custom cert in connectivity-netsocket-tests-tests-netsocket-tls 2020-09-01 09:18:43 +02:00
talorion 9af18af756 fixed warnings: comparison of integer expressions of different signedness 2020-08-24 15:34:20 +02:00
talorion 2a6f00642e fixed warnings: comparison of integer expressions of different signedness 2020-08-24 15:34:20 +02:00
Martin Kojtal 3fc6667c59
Merge pull request #13408 from boraozgen/bugfix/dns_cache
Fix memory leak in DNS cache
2020-08-11 09:00:58 +01:00
Bora Özgen a699ff3406 Fix memory leak in DNS cache 2020-08-07 11:31:06 +02:00
Ashok Rao 8d7c7555dc Fixing UNITTESTS 2020-08-05 17:09:21 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Rajkumar Kanagaraj a4c1071c5b Apply suggestions from code review
Commit the reviewer suggestions

Co-authored-by: Lingkai Dong <lingkai.dong@arm.com>
2020-07-23 06:24:04 -07:00
Rajkumar Kanagaraj 947d2d75b9 Fix spell check and astyle format issue 2020-07-23 06:22:15 -07:00
Rajkumar Kanagaraj b1a5e1b72d Move Unittests closure to library 2020-07-23 06:15:13 -07:00
Rajkumar Kanagaraj f745224c63 Move greentea test closure to library 2020-07-23 06:15:09 -07:00
Rajkumar Kanagaraj ea6a7ddbaa Refactor features/netsocket and move to connectivity/netsocket 2020-07-23 06:15:09 -07:00