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:
Ivan Grokhotkov 2017-08-24 14:40:39 +08:00
commit 87a0ec77b5

View 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