Skip to content

Commit 87d1992

Browse files
committed
mbedtls: Rename Mbed timing implementation
We get a linker warning with the recently added timing module implementation for Mbed. This is because there is Mbed TLS also ships a file called timing.c, which we are including in Mbed OS also. With CLI 1, we get an error about unique object files because of the similarly named implementation files. Object file timing.o is not unique! It could be made from: mbed-os/connectivity/mbedtls/source/timing.c mbed-os/connectivity/mbedtls/platform/src/timing.cpp Rename the Mbed timing module implementation to timing_mbed.cpp to avoid this naming conflict. Fixes: b8781e5 ("mbedtls: Add an alt implementation of timing") Fixes #14759
1 parent aeaac0e commit 87d1992

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

connectivity/mbedtls/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ target_sources(mbed-mbedtls
1616
platform/src/mbed_trng.cpp
1717
platform/src/platform_alt.cpp
1818
platform/src/shared_rng.cpp
19-
platform/src/timing.cpp
19+
platform/src/timing_mbed.cpp
2020

2121
source/aes.c
2222
source/aesni.c

0 commit comments

Comments
 (0)