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.
1 parent 8ca4d6c commit da4c556Copy full SHA for da4c556
src/ESPAsyncWebServer/src/AsyncWebSocket.cpp
@@ -20,23 +20,16 @@
20
*/
21
#include "Arduino.h"
22
#include "AsyncWebSocket.h"
23
-
24
#include <libb64/cencode.h>
25
26
-// #ifndef ESP8266
27
-// #include "mbedtls/sha1.h"
28
-// #else
29
-// #include <Hash.h>
30
-// #endif
31
32
-#ifdef ESP8266
33
- #include "mbedtls/sha1.h"
34
-#else
35
- #if ESP_ARDUINO_VERSION_MAJOR > 2
36
- #include "SHA1Builder.h"
37
- #else
38
- #include <Hash.h>
39
- #endif
+#ifdef ESP8266
+ #include <Hash.h>
+#else
+ #if ESP_ARDUINO_VERSION_MAJOR > 2
+ #include "SHA1Builder.h"
+ #else
+ #include "mbedtls/sha1.h"
+ #endif
40
#endif
41
42
#define MAX_PRINTF_LEN 64
0 commit comments