mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
fixed client session size, empty certificate list
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@88 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
@ -307,8 +307,7 @@ static int send_server_hello(SSL *ssl)
|
||||
if (IS_SET_SSL_FLAG(SSL_SESSION_RESUME))
|
||||
{
|
||||
/* retrieve id from session cache */
|
||||
memcpy(&buf[offset], ssl->session->session_id,
|
||||
SSL_SESSION_ID_SIZE);
|
||||
memcpy(&buf[offset], ssl->session->session_id, SSL_SESSION_ID_SIZE);
|
||||
memcpy(ssl->session_id, ssl->session->session_id, SSL_SESSION_ID_SIZE);
|
||||
}
|
||||
else /* generate our own session id */
|
||||
|
Reference in New Issue
Block a user