Skip to content

Commit b20140f

Browse files
anmapedigrr
authored andcommitted
axTLS fails to aws iot with SSL_ERROR_INVALID_HANDSHAKE. It is a wrong OFFSET. (esp8266#27)
1 parent d94ccb9 commit b20140f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssl/tls1_clnt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ static int process_server_hello(SSL *ssl)
350350
offset += 2; // ignore compression
351351
PARANOIA_CHECK(pkt_size, offset);
352352

353-
ssl->dc->bm_proc_index = offset+1;
353+
ssl->dc->bm_proc_index = offset;
354354
PARANOIA_CHECK(pkt_size, offset);
355355

356356
// no extensions

0 commit comments

Comments
 (0)