1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Changed the code to reserve bytes for hostname only if needed.

This commit is contained in:
Slavey Karadzhov
2016-02-22 10:02:40 +01:00
parent 63da8991c2
commit 1154d0a985
4 changed files with 35 additions and 23 deletions

View File

@ -360,7 +360,7 @@ EXP_FUNC int STDCALL ssl_get_config(int offset);
* - 1 on success
* - 0 on failure
*/
EXP_FUNC int STDCALL ssl_set_hostname(const SSL *ssl, const char* host_name);
EXP_FUNC int STDCALL ssl_set_hostname(SSL *ssl, const char* host_name);
/**
* @brief Display why the handshake failed.