Merge remote-tracking branch 'upstream-public/pr/1055' into development

This commit is contained in:
Gilles Peskine 2017-11-28 17:23:37 +01:00
commit 4b117d9c92
2 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,8 @@ Bugfix
failed, the error may not be noticed by the function
mbedtls_pem_read_buffer() causing it to return invalid values. Found by
Guido Vranken. #756
* Include configuration file in md.h, to fix compilation warnings.
Reported by aaronmdjones in #1001
= mbed TLS 2.6.0 branch released 2017-08-10

View File

@ -27,6 +27,12 @@
#include <stddef.h>
#if !defined(MBEDTLS_CONFIG_FILE)
#include "config.h"
#else
#include MBEDTLS_CONFIG_FILE
#endif
#define MBEDTLS_ERR_MD_FEATURE_UNAVAILABLE -0x5080 /**< The selected feature is not available. */
#define MBEDTLS_ERR_MD_BAD_INPUT_DATA -0x5100 /**< Bad input parameters to function. */
#define MBEDTLS_ERR_MD_ALLOC_FAILED -0x5180 /**< Failed to allocate memory. */