Merge branch 'bugfix/mbedtls_config_mismatch' into 'master'
mbedtls: Add a shim header to account for including "mbedtls/config.h" directly in program See merge request !1125
This commit is contained in:
commit
87a0ec77b5
1 changed files with 9 additions and 0 deletions
9
components/mbedtls/port/include/mbedtls/config.h
Normal file
9
components/mbedtls/port/include/mbedtls/config.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* This shim header is added so that any application code
|
||||
which includes "mbedtls/config.h" directly gets the correct
|
||||
config. */
|
||||
#pragma once
|
||||
#if !defined(MBEDTLS_CONFIG_FILE)
|
||||
#include_next "mbedtls/config.h"
|
||||
#else
|
||||
#include MBEDTLS_CONFIG_FILE
|
||||
#endif
|
Loading…
Reference in a new issue