mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01:00
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 <valerio.setti@nordicsemi.no>
This commit is contained in:
@@ -1133,14 +1133,6 @@ void x509parse_crt(data_t *buf, char *result_str, int result)
|
||||
int result_back_comp = result;
|
||||
int res;
|
||||
|
||||
#if !defined(MBEDTLS_PK_USE_PSA_RSA_DATA)
|
||||
/* Support for mbedtls#10213 before psa#308. Once psa#308 will be
|
||||
* merged this dirty fix can be removed. */
|
||||
if (result == MBEDTLS_ERR_PK_INVALID_PUBKEY) {
|
||||
result_back_comp = MBEDTLS_ERR_ASN1_UNEXPECTED_TAG;
|
||||
}
|
||||
#endif /* MBEDTLS_PK_USE_PSA_RSA_DATA */
|
||||
|
||||
mbedtls_x509_crt_init(&crt);
|
||||
USE_PSA_INIT();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user