1
0
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:
anmaped
2016-10-15 02:39:10 +01:00
committed by Ivan Grokhotkov
parent d94ccb9181
commit b20140f867

View File

@@ -350,7 +350,7 @@ static int process_server_hello(SSL *ssl)
offset += 2; // ignore compression
PARANOIA_CHECK(pkt_size, offset);
ssl->dc->bm_proc_index = offset+1;
ssl->dc->bm_proc_index = offset;
PARANOIA_CHECK(pkt_size, offset);
// no extensions