From 725e7f49425744006b53afc58cc3bf45a2a2d334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 23 Jun 2014 20:08:39 +0200 Subject: [PATCH] Fix include in reduced config files --- configs/README.txt | 2 ++ configs/config-mini-tls1_1.h | 2 +- configs/config-psk-rc4-tls1_0.h | 2 +- configs/config-suite-b.h | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configs/README.txt b/configs/README.txt index 7527fdb68..bab500d8d 100644 --- a/configs/README.txt +++ b/configs/README.txt @@ -8,6 +8,8 @@ These files are complete replacements for the default config.h. To use one of them, you can pick one of the following methods: 1. Replace the default file include/polarssl/config.h with the chosen one. + (Depending on your compiler, you may need to ajust the line with + #include "polarssl/check_config.h" then.) 2. Define POLARSSL_CONFIG_FILE and adjust the include path accordingly. For example, using make: diff --git a/configs/config-mini-tls1_1.h b/configs/config-mini-tls1_1.h index fd1b0e8dc..338fecf15 100644 --- a/configs/config-mini-tls1_1.h +++ b/configs/config-mini-tls1_1.h @@ -51,6 +51,6 @@ /* For testing with compat.sh */ #define POLARSSL_FS_IO -#include "check_config.h" +#include "polarssl/check_config.h" #endif /* POLARSSL_CONFIG_H */ diff --git a/configs/config-psk-rc4-tls1_0.h b/configs/config-psk-rc4-tls1_0.h index 6a06dc7f8..99942a68b 100644 --- a/configs/config-psk-rc4-tls1_0.h +++ b/configs/config-psk-rc4-tls1_0.h @@ -34,6 +34,6 @@ #define POLARSSL_SSL_SRV_C #define POLARSSL_SSL_TLS_C -#include "check_config.h" +#include "polarssl/check_config.h" #endif /* POLARSSL_CONFIG_H */ diff --git a/configs/config-suite-b.h b/configs/config-suite-b.h index bfd604807..bac71e9ad 100644 --- a/configs/config-suite-b.h +++ b/configs/config-suite-b.h @@ -51,6 +51,6 @@ /* For testing with compat.sh */ #define POLARSSL_FS_IO -#include "check_config.h" +#include "polarssl/check_config.h" #endif /* POLARSSL_CONFIG_H */