Commit 7f809977 authored by Manuel Pégourié-Gonnard's avatar Manuel Pégourié-Gonnard
Browse files

Rename include directory to mbedtls

parent 129db08c
......@@ -17,8 +17,8 @@ lib:
cd library && $(MAKE) all && cd ..
install:
mkdir -p $(DESTDIR)/include/polarssl
cp -r include/polarssl $(DESTDIR)/include
mkdir -p $(DESTDIR)/include/mbedtls
cp -r include/mbedtls $(DESTDIR)/include
mkdir -p $(DESTDIR)/lib
cp library/libmbedtls.* $(DESTDIR)/lib
......@@ -34,7 +34,7 @@ install:
done
uninstall:
rm -rf $(DESTDIR)/include/polarssl
rm -rf $(DESTDIR)/include/mbedtls
rm -f $(DESTDIR)/lib/libmbedtls.*
for p in programs/*/* ; do \
......
......@@ -5,7 +5,7 @@ README for mbed TLS
Configuration
=============
mbed TLS should build out of the box on most systems. Some platform specific options are available in the fully-documented configuration file *include/polarssl/config.h*, which is also the place where features can be selected.
mbed TLS should build out of the box on most systems. Some platform specific options are available in the fully-documented configuration file *include/mbedtls/config.h*, which is also the place where features can be selected.
This file can be edited manually, or in a more programmatic way using the Perl
script *scripts/config.pl* (use *--help* for usage instructions).
......
......@@ -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 */
Makefile
*.sln
*.vcxproj
polarssl/check_config
mbedtls/check_config
......@@ -2,10 +2,10 @@ option(INSTALL_MBEDTLS_HEADERS "Install mbed TLS headers." ON)
if(INSTALL_MBEDTLS_HEADERS)
file(GLOB headers "polarssl/*.h")
file(GLOB headers "mbedtls/*.h")
install(FILES ${headers}
DESTINATION include/polarssl
DESTINATION include/mbedtls
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
endif(INSTALL_MBEDTLS_HEADERS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment