Rename include directory to mbedtls

This commit is contained in:
Manuel Pégourié-Gonnard
2015-03-09 17:05:11 +00:00
parent 129db08c90
commit 7f8099773e
250 changed files with 908 additions and 908 deletions

View File

@@ -7,9 +7,9 @@ this target. They can be used as a basis for custom configurations.
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.
1. Replace the default file include/mbedtls/config.h with the chosen one.
(Depending on your compiler, you may need to ajust the line with
#include "polarssl/check_config.h" then.)
#include "mbedtls/check_config.h" then.)
2. Define POLARSSL_CONFIG_FILE and adjust the include path accordingly.
For example, using make:

View File

@@ -57,7 +57,7 @@
/*
* Save RAM at the expense of interoperability: do this only if you control
* both ends of the connection! (See comments in "polarssl/ssl.h".)
* both ends of the connection! (See comments in "mbedtls/ssl.h".)
* The optimal size here depends on the typical size of records.
*/
#define SSL_MAX_CONTENT_LEN 512

View File

@@ -52,6 +52,6 @@
/* For testing with compat.sh */
#define POLARSSL_FS_IO
#include "polarssl/check_config.h"
#include "mbedtls/check_config.h"
#endif /* POLARSSL_CONFIG_H */

View File

@@ -36,6 +36,6 @@
#define POLARSSL_SSL_SRV_C
#define POLARSSL_SSL_TLS_C
#include "polarssl/check_config.h"
#include "mbedtls/check_config.h"
#endif /* POLARSSL_CONFIG_H */

View File

@@ -85,12 +85,12 @@
/*
* Save RAM at the expense of interoperability: do this only if you control
* both ends of the connection! (See coments in "polarssl/ssl.h".)
* both ends of the connection! (See coments in "mbedtls/ssl.h".)
* The minimum size here depends on the certificate chain used as well as the
* typical size of records.
*/
#define SSL_MAX_CONTENT_LEN 1024
#include "polarssl/check_config.h"
#include "mbedtls/check_config.h"
#endif /* POLARSSL_CONFIG_H */