File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ LDFLAGS += -L$(XTENSA_LIBS)/lib \
40
40
41
41
CFLAGS+=-std =c99 -DESP8266
42
42
43
- CFLAGS += -Os -g -O2 -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mno-text-section-literals -D__ets__ -DICACHE_FLASH
43
+ CFLAGS += -Wall - Os -g -O2 -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mno-text-section-literals -D__ets__ -DICACHE_FLASH
44
44
BIN_DIR := bin
45
45
AXTLS_AR := $(BIN_DIR ) /libaxtls.a
46
46
Original file line number Diff line number Diff line change @@ -1415,16 +1415,16 @@ int increase_bm_data_size(SSL *ssl)
1415
1415
ssl -> max_plain_length == RT_MAX_PLAIN_LENGTH ) {
1416
1416
return SSL_OK ;
1417
1417
}
1418
- ssl -> can_increase_data_size = false;
1419
1418
certificate_free (ssl );
1420
1419
free (ssl -> bm_all_data );
1421
1420
ssl -> bm_data = 0 ;
1422
1421
ssl -> bm_all_data = malloc (RT_MAX_PLAIN_LENGTH + RT_EXTRA );
1423
1422
if (!ssl -> bm_all_data ) {
1424
1423
printf ("failed to grow plain buffer\r\n" );
1425
- ssl -> hs_status == SSL_ERROR_DEAD ;
1424
+ ssl -> hs_status = SSL_ERROR_DEAD ;
1426
1425
return SSL_ERROR_CONN_LOST ;
1427
1426
}
1427
+ ssl -> can_increase_data_size = false;
1428
1428
ssl -> max_plain_length = RT_MAX_PLAIN_LENGTH ;
1429
1429
ssl -> bm_data = ssl -> bm_all_data + BM_RECORD_OFFSET ;
1430
1430
return SSL_OK ;
You can’t perform that action at this time.
0 commit comments