1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-27 13:04:41 +03:00

Update axTLS to fe4518d, SNI support in WiFiClientSecure (#1285)

Fixes #1933
This commit is contained in:
Ivan Grokhotkov
2016-04-19 08:29:13 +03:00
parent b7c23c79de
commit 8c65f2fcd0
4 changed files with 15 additions and 9 deletions

View File

@@ -243,10 +243,11 @@ EXP_FUNC SSL * STDCALL ssl_server_new(SSL_CTX *ssl_ctx, int client_fd);
* can be null if no session resumption is being used or required. This option
* is not used in skeleton mode.
* @param sess_id_size The size of the session id (max 32)
* @param host_name If non-zero, host name to be sent to server for SNI support
* @return An SSL object reference. Use ssl_handshake_status() to check
* if a handshake succeeded.
*/
EXP_FUNC SSL * STDCALL ssl_client_new(SSL_CTX *ssl_ctx, int client_fd, const uint8_t *session_id, uint8_t sess_id_size);
EXP_FUNC SSL * STDCALL ssl_client_new(SSL_CTX *ssl_ctx, int client_fd, const uint8_t *session_id, uint8_t sess_id_size, const char* host_name);
/**
* @brief Free any used resources on this connection.