We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents facd0ee + 7a5c177 commit c8573d1Copy full SHA for c8573d1
src/esp32FOTA.cpp
@@ -364,14 +364,14 @@ bool esp32FOTA::setupHTTP( const char* url )
364
log_e("A strict security context has been set but no RootCA was provided");
365
return false;
366
}
367
- rootcastr = _cfg.root_ca->get();
368
if( _cfg.root_ca->size() == 0 ) {
369
log_e("A strict security context has been set but an empty RootCA was provided");
370
- log_e("rootcastr=%s", rootcastr);
371
372
+ rootcastr = _cfg.root_ca->get();
373
if( !rootcastr ) {
374
log_e("Unable to get RootCA, aborting");
+ log_e("rootcastr=%s", rootcastr);
375
376
377
log_d("Loading root_ca.pem");
0 commit comments