Remove unneeded testcase

Signed-off-by: Jonathan Winzig <jwinzig@hilscher.com>
This commit is contained in:
Jonathan Winzig 2024-01-09 17:47:10 +01:00
parent a72454bc16
commit 6c9779fabb
2 changed files with 5 additions and 8 deletions

View file

@ -266,8 +266,5 @@ mbedtls_x509_string_to_names:"C=NL, 2.5.4.10.234.532=#0C084F6666737061726B, OU=P
Check max serial length
x509_set_serial_check:
Check max extension length (Max-1)
x509_set_extension_length_check:0xFFFFFFFE
Check max extension length (Max)
x509_set_extension_length_check:SIZE_MAX
Check max extension length
x509_set_extension_length_check:

View file

@ -754,7 +754,7 @@ exit:
/* END_CASE */
/* BEGIN_CASE */
void x509_set_extension_length_check(int val_len)
void x509_set_extension_length_check()
{
int ret = 0;
@ -769,7 +769,7 @@ void x509_set_extension_length_check(int val_len)
MBEDTLS_OID_SIZE(MBEDTLS_OID_EXTENDED_KEY_USAGE),
0,
p,
val_len);
TEST_ASSERT(ret == MBEDTLS_ERR_X509_BAD_INPUT_DATA || ret == MBEDTLS_ERR_X509_ALLOC_FAILED);
SIZE_MAX);
TEST_ASSERT(MBEDTLS_ERR_X509_BAD_INPUT_DATA == ret);
}
/* END_CASE */