Skip to content

Commit 22360ee

Browse files
d3zd3zgalak
authored andcommitted
tests: benchmarks: mbedtls: Support legacy API
The contents of mbedtls_ecdh_context have changed in newer versions of the library. For now, we can work with the old version by adding a configuration define. It is unclear how long this will continue to work. Signed-off-by: David Brown <[email protected]>
1 parent c5b4094 commit 22360ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/benchmarks/mbedtls/src/benchmark.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* This file is part of mbed TLS (https://tls.mbed.org)
2020
*/
2121

22+
#define MBEDTLS_ECDH_LEGACY_CONTEXT
2223
#if !defined(CONFIG_MBEDTLS_CFG_FILE)
2324
#include "mbedtls/config.h"
2425
#else

0 commit comments

Comments
 (0)