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:
@ -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;
|
||||
|
Reference in New Issue
Block a user