1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00
This commit is contained in:
Slavey Karadzhov
2016-02-19 11:41:45 +01:00
parent 885ff3e8f0
commit 63da8991c2
4 changed files with 44 additions and 0 deletions

View File

@ -352,6 +352,16 @@ EXP_FUNC int STDCALL ssl_handshake_status(const SSL *ssl);
*/
EXP_FUNC int STDCALL ssl_get_config(int offset);
/**
* @brief Sets the hostname to be used for SNI
* @see https://en.wikipedia.org/wiki/Server_Name_Indication
* @param char* hostname
* @return success from the operation
* - 1 on success
* - 0 on failure
*/
EXP_FUNC int STDCALL ssl_set_hostname(const SSL *ssl, const char* host_name);
/**
* @brief Display why the handshake failed.
*