mbedtls/tests/suites
Hanno Becker 82a1fe5fcc X.509: Remove CRT policy parsing test 'bool len missing'
Judging from its name, the purpose of the test

   TBSCertificate v3, ext CertificatePolicies tag, bool len missing

in test_suite_x509parse.data is to exercise the X.509 parsing stack's
behaviour when parsing a CertificatePolicy extension which lacks the
length field of the boolean 'Criticality' value.

However, the test fails at an earlier stage due to a mismatch of inner
and outer length of the explicit ASN.1 extensions structure.

Since we already have tests exercising

- mismatch of inner and outer length in the extensions structure, namely
  'X509 CRT ASN1 (TBS, inv v3Ext, inner tag invalid)'
- missing length of the 'Criticality' field in an extension, namely
  'X509 CRT ASN1 (TBS, inv v3Ext, critical length missing)'

and since for both tests there's no relevance to the use of the
policy extension OID, the test

  'TBSCertificate v3, ext CertificatePolicies tag, bool len missing'

can be dropped.
2019-09-17 13:10:42 +01:00
..
helpers.function Add TEST_ASSUME macro to allow skipping tests at runtime 2019-07-05 13:39:09 +01:00
host_test.function Add TEST_ASSUME macro to allow skipping tests at runtime 2019-07-05 13:39:09 +01:00
main_test.function Add TEST_ASSUME macro to allow skipping tests at runtime 2019-07-05 13:39:09 +01:00
target_test.function Merge remote-tracking branch 'origin/pr/2660' into development 2019-07-11 16:17:38 +01:00
test_suite_debug.data Update certificates to expire in 2029 2019-07-10 16:46:34 +03:00
test_suite_debug.function Rename HexParam_t -> data_t for consistent coding style 2018-08-06 11:42:06 +01:00
test_suite_error.data
test_suite_error.function Intermediate hexify out change 2018-08-06 11:40:57 +01:00
test_suite_ssl.data Use US spelling 'serialize' instead of UK spelling 'serialise' 2019-08-23 12:51:21 +03:00
test_suite_ssl.function Introduce specific error for ver/cfg mismatch on deserialization 2019-08-23 12:51:21 +03:00
test_suite_version.data Update library version to 2.19.0 2019-08-30 13:02:16 +01:00
test_suite_version.function Intermediate hexify out change 2018-08-06 11:40:57 +01:00
test_suite_x509parse.data X.509: Remove CRT policy parsing test 'bool len missing' 2019-09-17 13:10:42 +01:00
test_suite_x509parse.function Add test cases exercising successful verification of MD2/MD4/MD5 CRT 2019-06-03 14:45:21 +01:00
test_suite_x509write.data Update certificates to expire in 2029 2019-07-10 16:46:34 +03:00
test_suite_x509write.function Fix memory leak in CSR test suite on failure 2019-09-06 07:44:37 -04:00