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 <david.brown@linaro.org>
This commit is contained in:
parent
c5b4094cfb
commit
22360ee323
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
* This file is part of mbed TLS (https://tls.mbed.org)
|
* This file is part of mbed TLS (https://tls.mbed.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define MBEDTLS_ECDH_LEGACY_CONTEXT
|
||||||
#if !defined(CONFIG_MBEDTLS_CFG_FILE)
|
#if !defined(CONFIG_MBEDTLS_CFG_FILE)
|
||||||
#include "mbedtls/config.h"
|
#include "mbedtls/config.h"
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue