Skip to content

Commit 910bf4b

Browse files
committed
tests: suite_x509parse: remove temporary fixes
Removes the temporary fixes that were introduced in order to allow crypto#308 to be merged. Signed-off-by: Valerio Setti <[email protected]>
1 parent a35e332 commit 910bf4b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/suites/test_suite_x509parse.function

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,14 +1133,6 @@ void x509parse_crt(data_t *buf, char *result_str, int result)
11331133
int result_back_comp = result;
11341134
int res;
11351135

1136-
#if !defined(MBEDTLS_PK_USE_PSA_RSA_DATA)
1137-
/* Support for mbedtls#10213 before psa#308. Once psa#308 will be
1138-
* merged this dirty fix can be removed. */
1139-
if (result == MBEDTLS_ERR_PK_INVALID_PUBKEY) {
1140-
result_back_comp = MBEDTLS_ERR_ASN1_UNEXPECTED_TAG;
1141-
}
1142-
#endif /* MBEDTLS_PK_USE_PSA_RSA_DATA */
1143-
11441136
mbedtls_x509_crt_init(&crt);
11451137
USE_PSA_INIT();
11461138

0 commit comments

Comments
 (0)