mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01:00
Rename include directory to mbedtls
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user