Skip to content

Fix to the mbedtls test to resolve namespace conflict when running on Kinetis devices #4077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TESTS/mbedtls/ecp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include "utest.h"
#include "rtos.h"

using namespace utest::v1;

#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else
Expand All @@ -39,6 +37,8 @@ using namespace utest::v1;
#include <stdlib.h>
#endif

using namespace utest::v1;

#ifndef PUT_UINT32_BE
#define PUT_UINT32_BE(n,b,i) \
{ \
Expand Down
4 changes: 2 additions & 2 deletions TESTS/mbedtls/selftest/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include "utest.h"
#include "rtos.h"

using namespace utest::v1;

#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else
Expand Down Expand Up @@ -49,6 +47,8 @@ using namespace utest::v1;
#define MBEDTLS_EXIT_FAILURE EXIT_FAILURE
#endif

using namespace utest::v1;

#define MBEDTLS_SELF_TEST_TEST_CASE(self_test_function) \
void self_test_function ## _test_case() { \
int ret = self_test_function(0); \
Expand Down