The data type for the length is inconsistent and leads to malfunctions in case of write or read operation of blocks larger than 64K since size_t in ESP32 is 32 bits unsigned int.
int send_ssl_data(sslclient_context *ssl_client, const uint8_t *data, uint16_t len);
int get_ssl_receive(sslclient_context *ssl_client, uint8_t *data, int length);
size_t write(const uint8_t *buf, size_t size);
int read(uint8_t *buf, size_t size);
It should be fixed
int send_ssl_data(sslclient_context *ssl_client, const uint8_t *data, size_t len);
int get_ssl_receive(sslclient_context *ssl_client, uint8_t *data, size_t length);
The data type for the length is inconsistent and leads to malfunctions in case of write or read operation of blocks larger than 64K since size_t in ESP32 is 32 bits unsigned int.
int send_ssl_data(sslclient_context *ssl_client, const uint8_t *data, uint16_t len);
int get_ssl_receive(sslclient_context *ssl_client, uint8_t *data, int length);
size_t write(const uint8_t *buf, size_t size);
int read(uint8_t *buf, size_t size);
It should be fixed
int send_ssl_data(sslclient_context *ssl_client, const uint8_t *data, size_t len);
int get_ssl_receive(sslclient_context *ssl_client, uint8_t *data, size_t length);