From cab79188ca063d79e6cb8bd429e0ad6a2e3b9263 Mon Sep 17 00:00:00 2001 From: Agathiyan Bragadeesh Date: Mon, 14 Aug 2023 10:59:36 +0100 Subject: [PATCH] Remove redundant tests in test_suite_x509write Signed-off-by: Agathiyan Bragadeesh --- tests/suites/test_suite_x509write.data | 28 ++++++++++---------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/tests/suites/test_suite_x509write.data b/tests/suites/test_suite_x509write.data index 880172c1f..fb0abd4a5 100644 --- a/tests/suites/test_suite_x509write.data +++ b/tests/suites/test_suite_x509write.data @@ -187,43 +187,37 @@ mbedtls_x509_string_to_names:"C=NL, O=Offspark\\":"":MBEDTLS_ERR_X509_INVALID_NA X509 String to Names #7 (Invalid, no '=' or ',') mbedtls_x509_string_to_names:"ABC123":"":MBEDTLS_ERR_X509_INVALID_NAME -X509 String to Names #8 (Escape valid characters) +X509 String to Names #8 (Escaped valid characters) mbedtls_x509_string_to_names:"C=NL, O=Offspark\\+ \\> \\=, OU=PolarSSL":"C=NL, O=Offspark\\+ \\> \\=, OU=PolarSSL":0 -X509 String to Names #9 (Escape '#' at beginning of string) -mbedtls_x509_string_to_names:"C=NL, O=#Offspark#, OU=PolarSSL":"C=NL, O=\\#Offspark#, OU=PolarSSL":0 - -X509 String to Names #10 (Escape ' ' at beginning and end of string) -mbedtls_x509_string_to_names:"C=NL, O= Off spark , OU=PolarSSL":"C=NL, O=\\ Off spark\\ , OU=PolarSSL":0 - -X509 String to Names #11 (Escape ascii hexpairs uppercase encoded) +X509 String to Names #9 (Escaped ascii hexpairs uppercase encoded) mbedtls_x509_string_to_names:"C=NL, O=\\4F\\66\\66\\73\\70\\61\\72\\6B, OU=PolarSSL":"C=NL, O=Offspark, OU=PolarSSL":0 -X509 String to Names #12 (Escape ascii hexpairs lowercase encoded) +X509 String to Names #10 (Escaped ascii hexpairs lowercase encoded) mbedtls_x509_string_to_names:"C=NL, O=\\4f\\66\\66\\73\\70\\61\\72\\6b, OU=PolarSSL":"C=NL, O=Offspark, OU=PolarSSL":0 -X509 String to Names #13 (Invalid hexpair escape at end of string) +X509 String to Names #11 (Invalid hexpair escape at end of string) mbedtls_x509_string_to_names:"C=NL, O=\\4f\\66\\66\\73\\70\\61\\72\\6, OU=PolarSSL":"":MBEDTLS_ERR_X509_INVALID_NAME -X509 String to Names #14 (Reject escaped null hexpair) +X509 String to Names #12 (Reject escaped null hexpair) mbedtls_x509_string_to_names:"C=NL, O=Of\\00spark, OU=PolarSSL":"":MBEDTLS_ERR_X509_INVALID_NAME -X509 String to Names #15 (Invalid hexpairs) +X509 String to Names #13 (Invalid hexpairs) mbedtls_x509_string_to_names:"C=NL, O=Of\\flspark, OU=PolarSSL":"":MBEDTLS_ERR_X509_INVALID_NAME -X509 String to Names #16 (Accept numercoid/hexstring) +X509 String to Names #14 (Accept numercoid/hexstring) mbedtls_x509_string_to_names:"C=NL, 2.5.4.10=#0C084F6666737061726B, OU=PolarSSL":"C=NL, O=Offspark, OU=PolarSSL":0 -X509 String to Names #17 (Odd length hexstring) +X509 String to Names #15 (Odd length hexstring) mbedtls_x509_string_to_names:"C=NL, 2.5.4.10=#0C084F6666737061726, OU=PolarSSL":"":MBEDTLS_ERR_X509_INVALID_NAME -X509 String to Names #18 (Invalid OID) +X509 String to Names #16 (Invalid OID) mbedtls_x509_string_to_names:"C=NL, 10.5.4.10=#0C084F6666737061726B, OU=PolarSSL":"":MBEDTLS_ERR_X509_INVALID_NAME -X509 String to Names #18 (short name and hexstring) +X509 String to Names #17 (short name and hexstring) mbedtls_x509_string_to_names:"C=NL, O=#0C084F6666737061726B, OU=PolarSSL":"C=NL, O=Offspark, OU=PolarSSL":0 -X509 String to Names #19 (Escape non-ascii hexpairs) +X509 String to Names #18 (Escape non-ascii hexpairs) mbedtls_x509_string_to_names:"C=NL, O=Of\\00spark, OU=PolarSSL":"C=NL, O=Of\\00spark, OU=PolarSSL":0 Check max serial length