File tree 2 files changed +3
-3
lines changed
libraries/ESP8266WiFi/src
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
#include < memory>
22
22
23
23
24
- #ifdef DEBUG_ESP_SSL
24
+ #if defined( DEBUG_ESP_SSL) && defined(DEBUG_ESP_PORT)
25
25
#define DEBUG_BSSL (fmt, ...) DEBUG_ESP_PORT.printf_P((PGM_P)PSTR( " BSSL:" fmt), ## __VA_ARGS__)
26
26
#else
27
27
#define DEBUG_BSSL (...)
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ extern "C" {
59
59
60
60
#endif
61
61
62
- #ifdef DEBUG_ESP_SSL
62
+ #if defined( DEBUG_ESP_SSL) && defined(DEBUG_ESP_PORT)
63
63
#define DEBUG_BSSL (fmt, ...) DEBUG_ESP_PORT.printf_P((PGM_P)PSTR( " BSSL:" fmt), ## __VA_ARGS__)
64
64
#else
65
65
#define DEBUG_BSSL (...)
@@ -664,7 +664,7 @@ extern "C" {
664
664
if (!xc->done_cert ) {
665
665
br_sha1_update (&xc->sha1_cert , buf, len);
666
666
br_x509_decoder_push (&xc->ctx , (const void *)buf, len);
667
- #ifdef DEBUG_ESP_SSL
667
+ #if defined( DEBUG_ESP_SSL) && defined(DEBUG_ESP_PORT)
668
668
DEBUG_BSSL (" CERT: " );
669
669
for (size_t i=0 ; i<len; i++) {
670
670
DEBUG_ESP_PORT.printf_P (PSTR (" %02x " ), buf[i] & 0xff );
You can’t perform that action at this time.
0 commit comments