mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 21:54:33 +02:00
feature/openssl: add openssl server demo and remove some check function
This commit is contained in:
@@ -90,10 +90,6 @@ int ssl_pm_new(SSL *ssl)
|
|||||||
if (!ssl_pm)
|
if (!ssl_pm)
|
||||||
SSL_ERR(ret, failed1, "ssl_mem_zalloc\n");
|
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;
|
max_content_len = ssl->ctx->read_buffer_len;
|
||||||
|
|
||||||
mbedtls_net_init(&ssl_pm->fd);
|
mbedtls_net_init(&ssl_pm->fd);
|
||||||
|
@@ -6,5 +6,3 @@
|
|||||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
# 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.
|
# please read the ESP-IDF documents if you need to do this.
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(IDF_PATH)/make/component_common.mk
|
|
||||||
|
Reference in New Issue
Block a user