Merge pull request #9731 from gilles-peskine-arm/coverity-20241004-3.6

Backport 3.6: Fix edge cases of mbedtls_psa_raw_to_der and mbedtls_psa_der_to_raw
This commit is contained in:
Paul Elliott
2024-11-06 19:02:54 +00:00
committed by GitHub
9 changed files with 112 additions and 55 deletions

View File

@@ -359,8 +359,6 @@ int main(void)
goto exit;
}
exit_code = MBEDTLS_EXIT_SUCCESS;
exit:
mbedtls_net_free(&client_fd);
mbedtls_net_free(&listen_fd);

View File

@@ -938,8 +938,6 @@ accept:
}
exit_code = MBEDTLS_EXIT_SUCCESS;
exit:
#ifdef MBEDTLS_ERROR_C