feature/openssl: add openssl server demo and remove some check function

This commit is contained in:
Dong Heng 2016-11-15 15:04:21 +08:00
parent 858fe9815b
commit dfaac25a37
2 changed files with 0 additions and 6 deletions

View File

@ -90,10 +90,6 @@ int ssl_pm_new(SSL *ssl)
if (!ssl_pm)
SSL_ERR(ret, failed1, "ssl_mem_zalloc\n");
if (ssl->ctx->read_buffer_len < 2048 ||
ssl->ctx->read_buffer_len > 8192)
return -1;
max_content_len = ssl->ctx->read_buffer_len;
mbedtls_net_init(&ssl_pm->fd);

View File

@ -6,5 +6,3 @@
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this.
#
include $(IDF_PATH)/make/component_common.mk