mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feature/openssl: add openssl server demo and remove some check function
This commit is contained in:
parent
858fe9815b
commit
dfaac25a37
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user