1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Terminate connection if increase_bm_data_size fails

As suggested in https://github.com/igrr/axtls-8266/issues/2#issuecomment-188544798
This commit is contained in:
Ivan Grokhotkov
2016-02-26 17:53:19 +03:00
parent 96fbb39f21
commit 324c2fdade
3 changed files with 20 additions and 12 deletions

View File

@ -119,6 +119,7 @@ int do_clnt_handshake(SSL *ssl, int handshake_type, uint8_t *buf, int hs_len)
case HS_FINISHED:
ret = process_finished(ssl, buf, hs_len);
ssl->can_increase_data_size = true;
disposable_free(ssl);
/* note: client renegotiation is not allowed after this */
break;