mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-12 20:49:16 +03:00
axTLS fails to aws iot with SSL_ERROR_INVALID_HANDSHAKE. It is a wrong OFFSET. (#27)
This commit is contained in:
@@ -350,7 +350,7 @@ static int process_server_hello(SSL *ssl)
|
|||||||
offset += 2; // ignore compression
|
offset += 2; // ignore compression
|
||||||
PARANOIA_CHECK(pkt_size, offset);
|
PARANOIA_CHECK(pkt_size, offset);
|
||||||
|
|
||||||
ssl->dc->bm_proc_index = offset+1;
|
ssl->dc->bm_proc_index = offset;
|
||||||
PARANOIA_CHECK(pkt_size, offset);
|
PARANOIA_CHECK(pkt_size, offset);
|
||||||
|
|
||||||
// no extensions
|
// no extensions
|
||||||
|
Reference in New Issue
Block a user